-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
bpo-34533: Remove all static state from _csv module #16078
Conversation
Also, #8977 was trying to address this first but I couldn't manage to get a branch back from that so I just created a new PR |
The PoC/WIP implementation of PEP 573 should do this plus also remove reliance |
Yup! PEP573 should be the long term solution for getting the module state in C Extensions. We can always go back and update this module once the PEP is finalized. On that note, I have a couple of comments/questions that I've been meaning to post in capi-sig about PEP573. I should prioritize that as well :-) For now though, this should be ready to be merged as is (pending any in-line comments reviewers might have). |
Sorry, for the delay, @eduardo-elizondo. I plan on taking a look next Friday. |
See: python#16078 This is slightly nicer. Co-authored-by: Eddie Elizondo <[email protected]>
See: python#16078 This is slightly nicer. Co-authored-by: Eddie Elizondo <[email protected]>
Uses code from: python#16078 Co-authored-by: Marcel Plch <[email protected]> Co-authored-by: Eddie Elizondo <[email protected]> Co-authored-by: Hai Shi <[email protected]>
Here is my attempt: #22838 |
Uses code from: python#16078 Co-authored-by: Marcel Plch <[email protected]> Co-authored-by: Eddie Elizondo <[email protected]> Co-authored-by: Hai Shi <[email protected]>
Uses code from: #16078 Co-authored-by: Marcel Plch <[email protected]> Co-authored-by: Eddie Elizondo <[email protected]> Co-authored-by: Hai Shi <[email protected]>
#23224, which includes this code, is now merged. Thank you for working on this! |
Uses code from: python#16078 Co-authored-by: Marcel Plch <[email protected]> Co-authored-by: Eddie Elizondo <[email protected]> Co-authored-by: Hai Shi <[email protected]>
Add all the changes needed to make _csv compatible with PEP384 as well as removing all static state from it
https://bugs.python.org/issue34533