Message152864
| 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. |
|