gh-124397: Add pure Python implementation of threading.iter_locked#138261
gh-124397: Add pure Python implementation of threading.iter_locked#138261eendebakpt wants to merge 16 commits intopython:mainfrom
threading.iter_locked#138261Conversation
|
I would have really preferred something like |
threading.iter_locked
|
I'm still not a huge fan of putting this in |
|
Just an idea: what about using the builtin |
|
I like that idea, but it would require a lot more work to accomplish. Changes to builtins require PEPs. |
Add a Python implementation of
iter_locked.Continuation of #133908 and #133272. The name was discussed in discuss.python.org
Since this is now a pure python implementation, we could also consider adding this to packages such as https://github.com/facebookincubator/ft_utils or https://github.com/dpdani/cereggii
📚 Documentation preview 📚: https://cpython-previews--138261.org.readthedocs.build/