]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Jul 2024 20:15:47 +0000 (22:15 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2024 20:15:47 +0000 (20:15 +0000)
commit835f4add6095ec76019daf755fa4b80e75a4b0ad
tree42c7bd146f41f4ad7d28795ae17b3a2cdf4d3861
parentc4daec4319bcd58032043dec8a6cd497263077f8
[3.13] gh-76785: Expand How Interpreter Channels Handle Interpreter Finalization (gh-121811)

See 6b98b274b6 for an explanation of the problem and solution.  Here I've applied the solution to channels.

(cherry picked from commit 8b209fd4f8a9bf9603888bda2c44b5cfd4ebf47a, AKA gh-121805)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Lib/test/support/interpreters/_crossinterp.py [new file with mode: 0644]
Lib/test/support/interpreters/channels.py
Lib/test/support/interpreters/queues.py
Lib/test/test__interpchannels.py
Lib/test/test_interpreters/test_channels.py
Lib/test/test_interpreters/test_queues.py
Modules/_interpchannelsmodule.c
Modules/_interpqueuesmodule.c
Modules/_interpreters_common.h