]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118527: Use deferred reference counting for C functions on modules (#118529)
authorSam Gross <colesbury@gmail.com>
Fri, 3 May 2024 15:33:05 +0000 (11:33 -0400)
committerGitHub <noreply@github.com>
Fri, 3 May 2024 15:33:05 +0000 (11:33 -0400)
commit608192ee2f6c60aaae1c6f2f64ea45ad2667ff2d
tree0f25ea7e3737f3f8ba35905b8f15826d6ad0828c
parentc2627d6eea924daf80f374c18a5fd73ef61283fa
gh-118527: Use deferred reference counting for C functions on modules (#118529)

This addresses a scaling bottleneck in the free-threaded build when
calling functions like `math.floor()` concurrently from multiple
threads.
Objects/moduleobject.c