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 eli.bendersky
Recipients amaury.forgeotdarc, eli.bendersky, eric-talevich, flox, maubp, vstinner
Date 2012-02-09.04:21:39
SpamBayes Score 5.885091e-06
Marked as misclassified No
Message-id <1328761303.65.0.306244984756.issue9257@psf.upfronthosting.co.za>
In-reply-to
Content
Eric,

Thanks for checking. I agree that this behavior is acceptable, but a documentation fix would be appropriate. The documentation of iterparse should mention the events it accepts, also saying that those are strings. 

The events are listed at http://effbot.org/zone/element-iterparse.htm

Would you like to try your hand at submitting a patch for Python 3.2? I will review and apply it to 3.2 and 3.3
History
Date User Action Args
2012-02-09 04:21:43eli.benderskysetrecipients: + eli.bendersky, amaury.forgeotdarc, vstinner, flox, eric-talevich, maubp
2012-02-09 04:21:43eli.benderskysetmessageid: <1328761303.65.0.306244984756.issue9257@psf.upfronthosting.co.za>
2012-02-09 04:21:40eli.benderskylinkissue9257 messages
2012-02-09 04:21:39eli.benderskycreate