[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

Martin Panter report at bugs.python.org
Thu Jan 1 20:32:46 CET 2015


Martin Panter added the comment:

You “forgot” to call close():

>>> parser.close()
Encountered some data  :  eggs

Perhaps this is a documentation bug, since there is a lot of example code given, but none of the examples call close().

----------
assignee:  -> docs at python
components: +Documentation
nosy: +docs at python, vadmium

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23144>
_______________________________________


More information about the Python-bugs-list mailing list