gh-129107: make `bytearray` iterator thread safe (#130096) · python/cpython@1b6bef8 · GitHub
Skip to content

Commit 1b6bef8

Browse files
gh-129107: make bytearray iterator thread safe (#130096)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
1 parent 388e1ca commit 1b6bef8

3 files changed

Lines changed: 81 additions & 26 deletions

File tree

Lib/test/test_bytes.py

Lines changed: 38 additions & 3 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make :class:`bytearray` iterator safe under :term:`free threading`.

Objects/bytearrayobject.c

Lines changed: 42 additions & 23 deletions

0 commit comments

Comments
 (0)