[issue10759] HTMLParser.unescape() fails on HTML entities with incorrect syntax (e.g. &#hearts; )

R. David Murray report at bugs.python.org
Wed Dec 22 17:52:46 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Ah, as an undocumented internal interface it may in fact not be appropriate to make this change.  Or it may be.  I'll have to look at the code in more detail to figure that out, or perhaps Senthil will.  (It may even be time to document the function, we'll see.)

Thanks for the patch.

----------
stage: needs patch -> unit test needed

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


More information about the Python-bugs-list mailing list