gh-116738: Make _bz2 module thread-safe (gh-142756)
Make the attributes in _bz2 module thread-safe on the free-threading build. Attributes (eof, needs_input, unused_data) are now stored atomically or accessed via mutex-protected getters.
A
Alper committed
1a9cdaf63af7014dd7bd852b4d8a8c0ab98387ab
Parent: a882ae1
Committed by GitHub <noreply@github.com>
on 12/15/2025, 5:47:04 PM