]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39947: Add PyInterpreterState_Get() function (GH-18979)
authorVictor Stinner <vstinner@python.org>
Fri, 13 Mar 2020 17:15:33 +0000 (18:15 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Mar 2020 17:15:33 +0000 (18:15 +0100)
commitbe79373a78c0d75fc715ab64253c9b757987a848
tree9fba5caff3547b80fbfd2b468339458e7d5d0037
parentff4584caca04cb3da0dbd5b1e9bf67e40adf5312
bpo-39947: Add PyInterpreterState_Get() function (GH-18979)

* Rename _PyInterpreterState_Get() to PyInterpreterState_Get() and
  move it the limited C API.
* Add _PyInterpreterState_Get() alias to PyInterpreterState_Get() for
  backward compatibility with Python 3.8.
Doc/c-api/init.rst
Doc/whatsnew/3.9.rst
Include/cpython/pystate.h
Include/pystate.h
Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst [new file with mode: 0644]
Modules/_posixsubprocess.c
Modules/_xxsubinterpretersmodule.c
Python/pystate.c