This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric-talevich
Recipients amaury.forgeotdarc, eli.bendersky, eric-talevich, flox, maubp, vstinner
Date 2012-02-08.14:42:48
SpamBayes Score 8.501343e-05
Marked as misclassified No
Message-id <1328712169.66.0.984877167878.issue9257@psf.upfronthosting.co.za>
In-reply-to
Content
It's more-or-less fixed in Python 3.2:

- With cElementTree, both bytes and strings are accepted for events; 

- With ElementTree, only strings are accepted, and bytes raise a ValueError (unknown event).

A small inconsistency remains, but it's fine to just use strings in all cases.
History
Date User Action Args
2012-02-08 14:42:49eric-talevichsetrecipients: + eric-talevich, amaury.forgeotdarc, vstinner, eli.bendersky, flox, maubp
2012-02-08 14:42:49eric-talevichsetmessageid: <1328712169.66.0.984877167878.issue9257@psf.upfronthosting.co.za>
2012-02-08 14:42:49eric-talevichlinkissue9257 messages
2012-02-08 14:42:48eric-talevichcreate