summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_spec.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-97850: Remove deprecated functions from `importlib.utils` (#97898)Nikita Sobolev2022-10-071-48/+0
| | | | | * gh-97850: Remove deprecated functions from `importlib.utils` * Rebase and remove `set_package` from diff
* gh-94619: Remove long deprecated methods module_repr() and load_module() ↵Barry Warsaw2022-08-051-95/+0
| | | | | | | | | | | | | | | (#94624) * gh-94619: Remove long deprecated methods module_repr() and load_module() Closes #94619 * Update Misc/NEWS.d/next/Library/2022-07-06-14-57-33.gh-issue-94619.PRqKVX.rst Fix typo Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Brett Cannon <brett@python.org>
* bpo-46425: fix direct invocation of `test_importlib` (GH-30682)Nikita Sobolev2022-01-221-1/+1
|
* bpo-43105: Importlib now resolves relative paths when creating module spec ↵Steve Dower2021-04-071-4/+15
| | | | objects from file locations (GH-25121)
* bpo-26131: Deprecate usage of load_module() (GH-23469)Brett Cannon2020-12-041-23/+31
| | | Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
* bpo-40275: Use new test.support helper submodules in tests (GH-21727)Hai Shi2020-08-041-1/+1
|
* bpo-41006: importlib.util no longer imports typing (GH-20938)Victor Stinner2020-06-171-2/+2
| | | | Create importlib._abc submodule to avoid importing typing when importlib.util is imported. Move Loader ABC into importlib._abc.
* Issue #26667: Add path-like object support to importlib.util.Brett Cannon2016-09-081-0/+6
|
* 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