[issue3932] HTMLParser cannot handle '&' and non-ascii characters in attribute names

Zbigniew Chyla report at bugs.python.org
Thu Jul 30 09:27:54 CEST 2009


Zbigniew Chyla <Zbigniew.Chyla at koelner.pl> added the comment:

Since `HTMLParser.unescape` in 2.5 returns `str` for `str` input, 2.6
should remain compatible. Therefore I propose the attached patch
(`HTMLParser-unescape-fix.diff`). With this patch applied the result
will have the same type as the input.

----------
keywords: +patch
nosy: +zchyla
Added file: http://bugs.python.org/file14606/HTMLParser-unescape-fix.diff

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


More information about the Python-bugs-list mailing list