Message165543
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. |
|
| Date |
User |
Action |
Args |
| 2012-07-15 18:34:15 | Arfrever | set | recipients:
+ Arfrever, georg.brandl, jerub, benjamin.peterson, eli.bendersky, zmedico, flox |
| 2012-07-15 18:34:15 | Arfrever | set | messageid: <1342377255.66.0.267147322737.issue14988@psf.upfronthosting.co.za> |
| 2012-07-15 18:34:15 | Arfrever | link | issue14988 messages |
| 2012-07-15 18:34:14 | Arfrever | create | |
|