We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84f391d commit d8ed27bCopy full SHA for d8ed27b
Doc/data/threadsafety.dat
@@ -83,6 +83,9 @@ PyBytes_DecodeEscape:atomic:
83
# Creation from formatting C primitives - pure allocation, no shared state
84
PyBytes_FromFormat:atomic:
85
PyBytes_FromFormatV:atomic:
86
+
87
+# Creation from object - uses buffer protocol so may call arbitrary code;
88
+# safe as long as the buffer is not mutated by another thread during the operation
89
PyBytes_FromObject:shared:
90
91
# Size - uses atomic load on free-threaded builds
0 commit comments