diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-19 02:54:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 02:54:39 +0200 |
commit | 0a28f8d379544eee897979da0ce99f0b449b49dd (patch) | |
tree | 8bf54f5ac2e9c3fd7beff5f6fa529a4f2269f3fb /Python/fileutils.c | |
parent | 809ff1181ccc09c3b629f3d0ec66e13eaa111b2e (diff) | |
download | cpython-git-0a28f8d379544eee897979da0ce99f0b449b49dd.tar.gz |
bpo-36710: Add tstate parameter in import.c (GH-14218)
* Add 'tstate' parameter to many internal import.c functions.
* _PyImportZip_Init() now gets 'tstate' parameter rather than
'interp'.
* Add 'interp' parameter to _PyState_ClearModules() and rename it
to _PyInterpreterState_ClearModules().
* Move private _PyImport_FindBuiltin() to the internal C API; add
'tstate' parameter to it.
* Remove private _PyImport_AddModuleObject() from the C API:
use public PyImport_AddModuleObject() instead.
* Remove private _PyImport_FindExtensionObjectEx() from the C API:
use private _PyImport_FindExtensionObject() instead.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions