Skip to content

Conversation

@yoney
Copy link
Contributor

@yoney yoney 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

@yoney yoney marked this pull request as ready for review December 8, 2025 22:57
@colesbury colesbury requested review from colesbury and mpage December 9, 2025 18:01
@colesbury colesbury merged commit 1eddef8 into python:main Dec 12, 2025
50 checks passed
Sign up for free to 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