Daniel Darabos <darabos.dan...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1651995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com