]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556...
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 27 Nov 2023 21:49:48 +0000 (14:49 -0700)
committerGitHub <noreply@github.com>
Mon, 27 Nov 2023 21:49:48 +0000 (14:49 -0700)
commit592a849fdf72f03a05f7e05570fab539b2c89257
treeb11a4cadc2f0e14bd512c34c1247d1861873877e
parenta4aac7d3eafc413ae75f26ca1a1246bdba23c7fb
[3.12] gh-76785: Use Pending Calls When Releasing Cross-Interpreter Data (gh-109556) (gh-112288)

This fixes some crashes in the _xxinterpchannels module, due to a race between interpreters.
(cherry picked from commit fd7e08a6f35581e1189b9bf12feb51f7167a86c5)
Include/internal/pycore_pystate.h
Modules/_xxinterpchannelsmodule.c
Modules/_xxsubinterpretersmodule.c
Python/pystate.c