summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_spec.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23014: Make importlib.abc.Loader.create_module() required whenBrett Cannon2015-01-091-0/+3
| | | | | | | | | importlib.abc.Loader.exec_module() is also defined. Before this change, create_module() was optional **and** could return None to trigger default semantics. This change now reduces the options for choosing default semantics to one and in the most backporting-friendly way (define create_module() to return None).
* Issue #20383: Introduce importlib.util.module_from_spec().Brett Cannon2014-05-301-160/+27
| | | | | | Along the way, dismantle importlib._bootstrap._SpecMethods as it was no longer relevant and constructing the new function required partially dismantling the class anyway.
* Issue #21503: Use test_both() consistently in test_importlib.Eric Snow2014-05-161-43/+29
|
* Issue 19713: Add PEP 451-related deprecations.Eric Snow2014-01-071-1/+1
|
* Remove dead PEP 451 code.Eric Snow2014-01-071-12/+0
|
* Issue #18864: Add a setter for ModuleSpec.has_location.Eric Snow2013-12-111-0/+7
|
* Remove commented-out module spec test code and an out-of-date note.Eric Snow2013-12-101-10/+0
|
* Issue #19758: silence PendingDeprecationWarnings in test_importlib.Eric Snow2013-12-081-4/+8
|
* Implement PEP 451 (ModuleSpec).Eric Snow2013-11-221-0/+968