Éric Araujo <mer...@netwok.org> added the comment:

I have added tests and fixed one or two bugs in 1405df4a1535.  I have another 
patch that checks that error messages are useful, with one exception: if you 
try to import a.b and b raises an ImportError, then the calling code will see 
an Attribute error.  Right now I don’t see how we can avoid that; checking the 
existence of files like your patch proposes is not possible, as Python modules 
do not come from files.

----------
Added file: http://bugs.python.org/file23469/resolve-name-errors.diff

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

Reply via email to