Skip to content

Commit d8ed27b

Browse files
split into two
1 parent 84f391d commit d8ed27b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/data/threadsafety.dat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ PyBytes_DecodeEscape:atomic:
8383
# Creation from formatting C primitives - pure allocation, no shared state
8484
PyBytes_FromFormat:atomic:
8585
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
8689
PyBytes_FromObject:shared:
8790

8891
# Size - uses atomic load on free-threaded builds

0 commit comments

Comments
 (0)