cpython/Lib/test/test_importlib
Victor Stinner 5b1ef200d3
bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738)
Extension modules: m_traverse, m_clear and m_free functions of
PyModuleDef are no longer called if the module state was requested
but is not allocated yet. This is the case immediately after the
module is created and before the module is executed (Py_mod_exec
function). More precisely, these functions are not called if m_size is
greater than 0 and the module state (as returned by
PyModule_GetState()) is NULL.

Extension modules without module state (m_size <= 0) are not affected.

Co-Authored-By: Petr Viktorin <encukou@gmail.com>
2020-03-17 18:09:46 +01:00
..
builtin bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
data cross port importlib-metadata PR #76 (#13903) 2019-06-07 14:23:38 -07:00
data01 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
data02 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
data03 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
extension bpo-39824: module_traverse() don't call m_traverse if md_state=NULL (GH-18738) 2020-03-17 18:09:46 +01:00
frozen
import_ bpo-38839: Fix some unused functions in tests (GH-17189) 2019-11-19 11:45:20 -08:00
namespace_pkgs
source bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) 2020-03-09 12:57:53 +01:00
zipdata01 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
zipdata02 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
__init__.py
__main__.py
abc.py Remove unused imports. 2016-12-16 20:00:15 +02:00
fixtures.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
stubs.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_abc.py Unmark files as executable that can't actually be executed. (GH-15353) 2019-08-20 21:53:59 -07:00
test_api.py Fix typo in test_api.py. (GH-16119) 2019-09-13 18:27:59 +01:00
test_lazy.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_locks.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_main.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_metadata_api.py bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840) 2019-09-10 14:53:31 +01:00
test_namespace_pkgs.py bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690) 2019-03-08 10:58:00 -08:00
test_open.py bpo-32248: Fix test_importlib.test_open() (#5213) 2018-01-17 15:21:50 +01:00
test_path.py bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
test_pkg_import.py bpo-19696: Replace deprecated method in "test_import_pkg.py" (GH-14466) 2019-07-03 11:22:40 -07:00
test_read.py bpo-33151: Handle submodule resources (GH-6268) 2018-03-27 09:59:38 -07:00
test_resource.py bpo-33755: Fix importlib.resources isolation tests (#7412) 2018-06-05 09:40:45 -07:00
test_spec.py Issue #26667: Add path-like object support to importlib.util. 2016-09-07 18:39:18 -07:00
test_threaded_import.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
test_util.py bpo-37830: Fix compilation of break and continue in finally. (GH-15320) 2019-08-24 13:11:52 +03:00
test_windows.py
test_zip.py bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
threaded_import_hangers.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
util.py bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) 2020-02-28 17:28:37 -08:00