You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PyCell_GET/SET are not thread-safe in free-threaded builds #127271
The PyCell_GET and PyCell_SET macros are not safe for free-threading builds. First, they don't the correct locking. Second, PyCell_GET returns a borrowed reference.
For CPython internals, the usages of these macros can be replaced (either with PyCell_GetRef(), PyCell_SetTakeRef(), or similar). For external API users, these macros will need to be marked as deprecated, at least for free-threaded builds.
Activity
pythongh-127271: Replace use of `PyCell_GET/SET`
gh-127271: Replace use of PyCell_GET/SET (gh-127272)
pythongh-127271: Replace use of PyCell_GET/SET (pythongh-127272)
pythongh-127271: Replace use of PyCell_GET/SET (pythongh-127272)
gh-127271: Remove the PyCell_Get usage for framelocalsproxy (#130383)