]> granicus.if.org Git - python/commit
bpo-36710: Remove PyImport_Cleanup() function (GH-14221)
authorVictor Stinner <vstinner@redhat.com>
Wed, 19 Jun 2019 08:36:10 +0000 (10:36 +0200)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2019 08:36:10 +0000 (10:36 +0200)
commit987a0dcfa1302df6c1ed8cf14762dc18628e3f33
treee5067c951f469056947e4b2c3312503610424abc
parent7821b4c6d29933511d50bb42255e39790c6abf00
bpo-36710: Remove PyImport_Cleanup() function (GH-14221)

* Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the
  internal C API. Add 'tstate' parameters.
* Remove documentation of _PyImport_Init(), PyImport_Cleanup(),
  _PyImport_Fini(). All three were documented as "For internal use
  only.".
Doc/c-api/import.rst
Doc/whatsnew/3.9.rst
Include/import.h
Include/internal/pycore_import.h
Python/import.c
Python/pylifecycle.c