Serhiy Storchaka added the comment:

Indeed, xml.dom.minidom.parseString() and xml.etree.ElementTree.fromstring() 
accepts both bytes and strings, xml.dom.minidom.parse(), 
xml.etree.ElementTree.parse() and even xml.sax.parse() accepts both byte and 
text streams. Only xml.sax.parseString() rejects strings in contrast to its 
name. This looks as 2 to 3 porting bug.

----------
components: +Unicode
nosy: +ezio.melotti, serhiy.storchaka
stage:  -> needs patch
versions: +Python 3.2, Python 3.4

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

Reply via email to