]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683)
authorVictor Stinner <vstinner@python.org>
Wed, 28 Apr 2021 11:40:44 +0000 (13:40 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Apr 2021 11:40:44 +0000 (13:40 +0200)
commit32c5a174445ec93747240cd8472012276ed27acf
tree4543061a1faff9636786507ef6edc69bc1a66692
parent21b02b5f4018474620676be04310f7d230a464ea
bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683)

_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.
Include/internal/pycore_interp.h
Misc/NEWS.d/next/C API/2021-04-28-13-13-07.bpo-43962.9Jzs5X.rst [new file with mode: 0644]
Objects/interpreteridobject.c
Python/pystate.c