Christian Heimes <[EMAIL PROTECTED]> added the comment:
I've a better idea:
while buffer:
It's faster and works for both empty bytes and str.
The patch fixes the issue and re-enables three unit tests.
----------
keywords: +needs review, patch
Added file: http://bugs.python.org/file11295/xmlreader_buffer.patch
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2501>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com