Skip to content

gh-117142: ctypes: Migrate global closure freelist to module state - #117875

Closed
neonene wants to merge 10 commits into
python:mainfrom
neonene:freelist_mod
Closed

gh-117142: ctypes: Migrate global closure freelist to module state#117875
neonene wants to merge 10 commits into
python:mainfrom
neonene:freelist_mod

Conversation

@neonene

@neoneneneonene commented Apr 14, 2024

Copy link
Copy Markdown
Contributor

This introduces _PyType_GetModule static inline function into pycore_typeobject.h for the efficient module check during a finish.

See also #117874, which uses a type state instead.

cc @encukou

@neonene

Copy link
Copy Markdown
ContributorAuthor

See #117874 (comment)

@neoneneneonene closed this May 6, 2024
@neonene
neonene deleted the freelist_mod branch May 22, 2024 23:12
Sign up for freeto 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.

1 participant

@neonene