[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: Great! Thank you! -- ___ Python tracker <http://bugs.python.org/issue13711> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: To clarify this even further: Consider parser_instance.feed("<td></td>") It should call: parser_instance.handle_starttag("script", []) parser_instance.handle_data("") parser_instance.hand

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: Oh, I wasn't aware of that. Then, the bug is actually calling handle_endtag. -- ___ Python tracker <http://bugs.python.org/is

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: I forgot to say, I'm using python version 3.2.2. -- ___ Python tracker <http://bugs.python.org/issue13711> ___ ___ Pytho

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
New submission from Manuel Bärenz : I've attached a script which demonstrates the bug. When feeding a

[issue11146] Add a feature similar to C++ "using some_namespace"

2011-02-07 Thread Manuel Bärenz
New submission from Manuel Bärenz : In C++, the the approach to the namespace problem is having different namespaces that should not contain different definitions of the same name. Members of a namespace can be accessed explicitly by e.g. calling "std::cout << etc." or &quo