Skip to content
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

Remove unneeded module state from _json module #94393

Closed
erlend-aasland opened this issue Jun 28, 2022 · 0 comments · Fixed by #94394
Closed

Remove unneeded module state from _json module #94393

erlend-aasland opened this issue Jun 28, 2022 · 0 comments · Fixed by #94394
Labels
3.12 bugs and security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@erlend-aasland
Copy link
Contributor

The _json module got multi-phase initialisation and heap types in GH-17835. However, there is no need for it to have module state. We can remove approx. 50 lines of code, and get rid of the unneeded state allocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes extension-modules C modules in the Modules dir type-feature A feature request or enhancement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant