SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 152 Python

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.
V
Victor Stinner committed
0a28f8d379544eee897979da0ce99f0b449b49dd
Parent: 809ff11
Committed by GitHub <noreply@github.com> on 6/19/2019, 12:54:39 AM