Kevin Stock <teo...@gmail.com> added the comment:

A workaround is to call close() after feed(), which I supposed I should have 
done anyways. However, this does not resolve the issue that the two cases 
behave so differently. 

The code that causes the difference is lines 351-355 of parser.py, which also 
has a misleading comment stating it detects the / in a /> ending (which is 
actually done at 334).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12629>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to