Ezio Melotti <ezio.melo...@gmail.com> added the comment: Yep, this was fixed in #670664. With the development version of Python (AFAIK the fix has not be released yet) and the example parser found in the doc[0] I get this:
>>> parser = MyHTMLParser() >>> parser.feed('<script><td></td></script>') Encountered a start tag: script Encountered some data: <td></td> Encountered an end tag: script [0]: http://docs.python.org/dev/library/html.parser.html#example-html-parser-application ---------- assignee: -> ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> HTMLParser.py - more robust SCRIPT tag parsing _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com