Author Arfrever
Recipients Arfrever, benjamin.peterson, eli.bendersky, flox, georg.brandl, jerub, zmedico
Date 2012-07-15.18:34:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342377255.66.0.267147322737.issue14988@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO wrong exception could be treated as a bug, which could be fixed in 3.2 and 3.3.
Benjamin Peterson and Georg Brandl: What do you think?

> P.S. is there any way to create a test for it?

You can set sys.modules["pyexpat"]=None and test exception type when trying to import _elementtree.
History
Date User Action Args
2012-07-15 18:34:15Arfreversetrecipients: + Arfrever, georg.brandl, jerub, benjamin.peterson, eli.bendersky, zmedico, flox
2012-07-15 18:34:15Arfreversetmessageid: <1342377255.66.0.267147322737.issue14988@psf.upfronthosting.co.za>
2012-07-15 18:34:15Arfreverlinkissue14988 messages
2012-07-15 18:34:14Arfrevercreate