Phil Thompson <[email protected]> added the comment:
This variation of your test doesn't...
---------------------------------------
import io
from xml.etree.ElementTree import parse
stream = io.StringIO()
stream.write('''<?xml version="1.0"?>
<site>
</site>
''')
stream.seek(0)
parsed = parse(stream)
print(parsed)
---------------------------------------
Phil
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com