This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients christian.heimes, eli.bendersky, loewis, ncoghlan, petr.viktorin, pitrou, vstinner
Date 2020-12-15.15:17:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608045454.1.0.192509082844.issue18710@roundup.psfhosted.org>
In-reply-to
Content
Let me summarize the original issue with the following quote from the python-dev thead:

> doing some sys.modules acrobatics and re-importing suddenly
changes the internal state of a previously imported [_csv] module.

The issue is now solved; both reproducers from that thread pass.

If you're interested, please read PEP 630 for a general overview of where we're at w.r.t. C-API changes that started with PEP 3121.
For the API used to fix this issue, see PEP 573; for the specific fix in _csv, see GH-23224.

Thanks to everyone involved, and especially to Nick Coghlan for helping me start this journey way back in 2013 :)
History
Date User Action Args
2020-12-15 15:17:34petr.viktorinsetrecipients: + petr.viktorin, loewis, ncoghlan, pitrou, vstinner, christian.heimes, eli.bendersky
2020-12-15 15:17:34petr.viktorinsetmessageid: <1608045454.1.0.192509082844.issue18710@roundup.psfhosted.org>
2020-12-15 15:17:34petr.viktorinlinkissue18710 messages
2020-12-15 15:17:33petr.viktorincreate