]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-116738: Statically initialize special constants in cmath module (gh-142161...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Dec 2025 14:51:55 +0000 (15:51 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 14:51:55 +0000 (14:51 +0000)
commit94012d65c9669c03d254c1afe1278eff215e7f56
tree6c4da5aeb9ed570c6c87b6c659b5f7a3bc6b6331
parent88e1f695f385c9625a499940d163972f8f51b96e
[3.14] gh-116738: Statically initialize special constants in cmath module (gh-142161) (gh-142261)

The initialization during `mod_exec` wasn't thread-safe with multiple interpreters.
(cherry picked from commit 2dac9e6016c81abbefa4256253ff5c59b29378a7)

Co-authored-by: Alper <alperyoney@fb.com>
Misc/NEWS.d/next/Core_and_Builtins/2025-12-01-10-03-08.gh-issue-116738.972YsG.rst [new file with mode: 0644]
Modules/cmathmodule.c