]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 19 Sep 2023 21:01:34 +0000 (15:01 -0600)
committerGitHub <noreply@github.com>
Tue, 19 Sep 2023 21:01:34 +0000 (15:01 -0600)
commitfd7e08a6f35581e1189b9bf12feb51f7167a86c5
tree0844ef241ff291d4d50d293e185532b1284b276b
parent754519a9f8c2bb06d85ff9b3e9fe6f967ac46d5c
gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556)

This fixes some crashes in the _xxinterpchannels module, due to a race between interpreters.
Include/cpython/pystate.h
Include/internal/pycore_ceval.h
Include/internal/pycore_ceval_state.h
Modules/_xxinterpchannelsmodule.c
Modules/_xxsubinterpretersmodule.c
Python/ceval_gil.c
Python/pystate.c