Skip to content

Conversation

@yoney
Copy link
Contributor

@yoneyyoney commented Dec 8, 2025

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.

cc: @mpage@colesbury

@yoneyyoney marked this pull request as ready for review December 8, 2025 22:57
@colesburycolesbury merged commit 1eddef8 into python:mainDec 12, 2025
50 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@yoney@colesbury@emmatyping