Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Nov 13, 2025

This needs a single bit, but was stored as a void* in the module struct. This didn't matter due to packing, but now that there's another bool in the struct, we can save a bit of memory by making md_gil a bool.

Variables that changed type are renamed, to detect conflicts.

This needs a single bit, but was stored as a void* in the module
struct. This didn't matter due to packing, but now that there's
another bool in the struct, we can save a bit of memory by
making md_gil a bool.

Variables that changed type are renamed, to detect conflicts.
Copy link
Contributor

@colesbury colesbury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brettcannon brettcannon removed their request for review November 13, 2025 21:23
@encukou encukou merged commit a4dd662 into python:main Nov 14, 2025
52 checks passed
@encukou encukou deleted the gil-bool branch November 14, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants