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
data cross port importlib-metadata PR #76 (#13903) 2019-06-07 14:23:38 -07:00
data01
data02
data03
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
zipdata02
__init__.py
__main__.py
abc.py
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
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
test_open.py
test_path.py
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
test_resource.py
test_spec.py
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