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