]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43963: Fix import _signal in subinterpreters (GH-25674)
authorVictor Stinner <vstinner@python.org>
Tue, 27 Apr 2021 23:50:04 +0000 (01:50 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Apr 2021 23:50:04 +0000 (01:50 +0200)
commita09766deab5aff549f40f27080895e148af922ed
tree54a43001554a14927abe6347b394c470796db7e6
parent6bd9288b805c765ec2433f66aa4d82e05767325f
bpo-43963: Fix import _signal in subinterpreters (GH-25674)

Importing the _signal module in a subinterpreter has no longer side
effects.

signal_module_exec() no longer modifies Handlers and no longer attempts
to set SIGINT signal handler in subinterpreters.
Misc/NEWS.d/next/Core and Builtins/2021-04-28-01-23-38.bpo-43963.u5Y6bS.rst [new file with mode: 0644]
Modules/signalmodule.c