Transport w/ extra tests
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Jul 20 15:59:10 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fredrik Lundh wrote:
> Aaron Bentley wrote:
>
>
>>I've done some tests now, and ElementTree won't tolerate file-like
>>objects that produce unicode strings. Ironic that it insists on doing
>>more work than we need it to.
>
>
> this is because XML streams are defined in terms of encoded bytestreams,
> not "abstract" unicode characters.
Sure, but you can view these as utf-32 encoded bytestreams. AIUI, an
external encoding declaration trumps any declaration in the the text.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC3ma+0F+nu1YWqI0RAlXUAJ984b1Dd9+mtXWjKhldv7oUM80VHACfYR3t
ogjbM2DQlqWjtfi335bdw9k=
=Pd7X
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list