]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Clean Up Interpreter ID Conversions (gh-117048)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 21 Mar 2024 15:56:12 +0000 (09:56 -0600)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2024 15:56:12 +0000 (09:56 -0600)
commitbbee57fa8c318cb26d6c8651254927a1972c9738
tree244201e644486b2b5b241e6e40918dd390013027
parente728303532168efab7694c55c82ea19b18bf8385
gh-76785: Clean Up Interpreter ID Conversions (gh-117048)

Mostly we unify the two different implementations of the conversion code (from PyObject * to int64_t.  We also drop the PyArg_ParseTuple()-style converter function, as well as rename and move PyInterpreterID_LookUp().
Include/cpython/interpreteridobject.h
Include/internal/pycore_interp.h
Lib/test/test_capi/test_misc.py
Modules/_testcapimodule.c
Modules/_testinternalcapi.c
Modules/_xxsubinterpretersmodule.c
Objects/interpreteridobject.c
Python/pystate.c