[Python-3000] XML as bytes or unicode?
Benjamin Peterson
musiccomposition at gmail.com
Mon Aug 18 18:35:53 CEST 2008
On Mon, Aug 18, 2008 at 11:33 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
> 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?
Well, unless the parser decodes explicitly, I believe this should be true.
>
> cheers
>
> Antoine.
>
>
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com
>
--
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
More information about the Python-3000
mailing list