Change PyMutex_LockFast to take mutex as argument #128033
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-free-threading
type-feature
A feature request or enhancement
PyMutex_LockFast
is the only function which takes the bits from mutex directly rather than the mutex. It breaks a good abstraction so I propose to change it to take the mutex as its argument like all other functions.cc @colesbury
Linked PRs
PyMutex_LockFast
to takePyMutex
as argument #128054The text was updated successfully, but these errors were encountered: