Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed

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

wants to merge 10 commits into from

Conversation

neonene
Copy link
Contributor

@neonene neonene commented Apr 14, 2024

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
Contributor Author

neonene commented May 6, 2024

See #117874 (comment)

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

1 participant