diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-18 22:18:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 22:18:29 (GMT) |
commit | 622307142130d36a30644233441333247838af38 (patch) | |
tree | 57dec31fa3f5335182981be27d009fa09d0f83f3 /Modules/_tracemalloc.c | |
parent | e0251787d85950538cf2490c2c73cc680b153940 (diff) | |
download | cpython-622307142130d36a30644233441333247838af38.zip cpython-622307142130d36a30644233441333247838af38.tar.gz cpython-622307142130d36a30644233441333247838af38.tar.bz2 |
bpo-1635741: Convert _imp to multi-phase init (GH-23378)
Convert the _imp extension module to the multi-phase initialization
API (PEP 489).
* Add _PyImport_BootstrapImp() which fix a bootstrap issue: import
the _imp module before importlib is initialized.
* Add create_builtin() sub-function, used by _imp_create_builtin().
* Initialize PyInterpreterState.import_func earlier, in
pycore_init_builtins().
* Remove references to _PyImport_Cleanup(). This function has been
renamed to finalize_modules() and moved to pylifecycle.c.
Diffstat (limited to 'Modules/_tracemalloc.c')
0 files changed, 0 insertions, 0 deletions