summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import/data
Commit message (Collapse)AuthorAgeFilesLines
* [3.5] Backport bpo-30876 (GH-2639), bpo-18018 and bpo-26367. (#2677)Serhiy Storchaka2017-07-232-0/+3
| | | | | | | | | | | | | | | | * bpo-30876: Relative import from unloaded package now reimports the package instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError. (cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd) * bpo-18018: Import raises ImportError instead of SystemError if a relative import is attempted without a known parent package. * bpo-26367: importlib.__init__() raises ImportError like builtins.__import__() when ``level`` is specified but without an accompanying package specified.
* WhitespaceAntoine Pitrou2014-10-136-6/+6
|
* Issue #17636: Circular imports involving relative imports are now supported.Antoine Pitrou2014-10-139-0/+18