| commit | 3008bc0f4abb3f71433b1fcd97cc801da0a866cc | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <brett@python.org> | Tue Aug 11 18:01:31 2015 -0700 |
| committer | Brett Cannon <brett@python.org> | Tue Aug 11 18:01:31 2015 -0700 |
| tree | 2eefd4a3a25a4e0234225452541254715ada79e2 | |
| parent | bb8a52a8d37bd8e273eddd050f91e7d423bff3c9 [diff] |
Issue #24492: make sure that ``from ... import ...` raises an ImportError if __name__ is not defined on a package. Thanks to Armin Rigo for the bug report and diagnosing the cause.