Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com> added the comment:

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.

----------
nosy: +benjamin.peterson, georg.brandl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to