Uh oh!
There was an error while loading. Please reload this page.
gh-142518: add thread safety docs for set C-APIs - #146562
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <vstinner@python.org>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <vstinner@python.org>
| @@ -125,6 +125,29 @@ PyByteArray_GET_SIZE:atomic: | |||
| PyByteArray_AsString:compatible: | |||
| PyByteArray_AS_STRING:compatible: | |||
There was a problem hiding this comment.
You may add PySet_Check(), PyFrozenSet_Check(), PyAnySet_Check(), PySet_CheckExact(), PyAnySet_CheckExact() and PyFrozenSet_CheckExact() functions, they are atomic.
There was a problem hiding this comment.
I am thinking of covering this and other type checks in next PR, so skipping this for now
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Victor Stinner <vstinner@python.org>
Uh oh!
There was an error while loading. Please reload this page.
Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit dd88e77) Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
GH-148362 is a backport of this pull request to the 3.14 branch. |
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
📚 Documentation preview 📚: https://cpython-previews--146562.org.readthedocs.build/