SIGN IN SIGN UP

gh-116738: Make zlib module thread-safe (gh-142432)

Makes the zlib module thread-safe free-threading build. Even though operations
are protected by locks, attributes exposed via PyMemberDef (eof, needs_input,
unused_data, unconsumed_tail) should still be stored atomically within locked
sections, since they can be read without acquiring the lock.
A
Alper committed
1eddef81930ad9f7e2f411f153c35af16a6edf14
Parent: 40ac3a9
Committed by GitHub <noreply@github.com> on 12/12/2025, 6:14:42 PM