[issue13358] HTMLParser incorrectly handles cdata elements.
Ezio Melotti
report at bugs.python.org
Thu Nov 17 19:17:55 CET 2011
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
It already behaves like a browser, it just gives you data in chunks instead of calling handle_data() only once at the end. The documentation is not clear about this though. It says that feed() can be called several times, but it doesn't say that handle_data() (and possibly other methods) might get called more than once. This seems to always be the case while calling feed() several times.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13358>
_______________________________________
More information about the Python-bugs-list
mailing list