]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116738: Statically initialize special constants in cmath module (gh-142161)
authorAlper <alperyoney@fb.com>
Thu, 4 Dec 2025 14:21:51 +0000 (06:21 -0800)
committerGitHub <noreply@github.com>
Thu, 4 Dec 2025 14:21:51 +0000 (09:21 -0500)
commit2dac9e6016c81abbefa4256253ff5c59b29378a7
treeb184fdc79a5b8ec97347eb947ccd8f051c61cee1
parent8392095bf969655faf785dd0932c3f02fc4ec311
gh-116738: Statically initialize special constants in cmath module (gh-142161)

The initialization during `mod_exec` wasn't thread-safe with multiple interpreters.
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