[docs] [issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text
Martin Panter
report at bugs.python.org
Sun Mar 8 00:14:09 CET 2015
Martin Panter added the comment:
I still think it would be worthwhile adding close() calls to the examples in the documentation (Doc/library/html.parser.rst).
BTW I haven’t tested this, and maybe it is not a concern, but even with this patch it looks like the parser will buffer unlimited data and output nothing until close() if each string it is fed ends with an ampersand (and otherwise contains only plain text, no tags etc).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23144>
_______________________________________
More information about the docs
mailing list