[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

Daniel Darabos report at bugs.python.org
Tue Mar 31 23:00:38 CEST 2009


Daniel Darabos <darabos.daniel at gmail.com> added the comment:

Attached patch against SVN trunk including unittest. The test is not 
great, because it practically only checks if the patch was applied and 
not the real-life situation where the exception occurs, but I'm not too 
handy with sgmllib (I only encountered this problem through 
BeautifulSoup).

----------
Added file: http://bugs.python.org/file13523/issue1651995.patch

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


More information about the Python-bugs-list mailing list