[issue19771] runpy should check ImportError.name before wrapping it

Luiz Poleto report at bugs.python.org
Mon Apr 21 04:18:08 CEST 2014


Luiz Poleto added the comment:

The attached patch provide test cases to validate this error. As noted by R. David Murray in a discussion in the Core-Mentorship list, this error in fact happens then __init__.py throws an ImportError.

----------
keywords: +patch
nosy: +poleto
Added file: http://bugs.python.org/file34988/issue_19771_tests.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19771>
_______________________________________


More information about the Python-bugs-list mailing list