Zbigniew Chyla <[email protected]> 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 <[email protected]> <http://bugs.python.org/issue3932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
