Uh oh!
There was an error while loading. Please reload this page.
bpo-14935: Remove static state from the _csv module - #23224
Conversation
Uses code from: python#16078 Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com> Co-authored-by: Hai Shi <shihai1992@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vstinner
left a comment
There was a problem hiding this comment.
LGTM. IMO the code is cleaner with your changes, thanks.
I just added a minor coding style remark, feel free to ignore it ;-)
| PyType_Spec Writer_Type_spec = { | ||
| "_csv.writer", | ||
| sizeof(WriterObj), |
There was a problem hiding this comment.
maybe use ".m_xxx = xxx" syntax here, as you did for the other spec below. Same remark for Reader_Type_spec.
shihai1991
left a comment
There was a problem hiding this comment.
I have no other comments, so LGTM.
Uses code from: python#16078 Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com> Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com> Co-authored-by: Hai Shi <shihai1992@gmail.com>
This merges code/ideas from gh-20974 and gh-16078, and uses the new
_PyType_GetModuleByDef.Co-authored-by: Marcel Plch gmarcel.plch@gmail.com
Co-authored-by: Eddie Elizondo eduardo.elizondorueda@gmail.com
Co-authored-by: Hai Shi shihai1992@gmail.com
https://bugs.python.org/issue14935