SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

gh-127065: Make `methodcaller` thread-safe in free threading build (#127109)

The `methodcaller` C vectorcall implementation uses an arguments array
that is shared across calls. The first argument is modified on every
invocation. This isn't thread-safe in the free threading build. I think
it's also not safe in general, but for now just disable it in the free
threading build.
S
Sam Gross committed
f83ca6962af973fff6a3124f4bd3d45fea4dd5b8
Parent: 3c770e3
Committed by GitHub <noreply@github.com> on 11/22/2024, 2:21:59 PM