[Python-3000] XML as bytes or unicode?

Antoine Pitrou solipsis at pitrou.net
Mon Aug 18 18:33:00 CEST 2008


I took a look at test_sax and it seems sax.parser expects all (XML) input as
unicode rather than bytes. Apparently ElementTree does the same. Is there any
rationale for this decision?

cheers

Antoine.




More information about the Python-3000 mailing list