Message383065
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 :) |
|
Date |
User |
Action |
Args |
2020-12-15 15:17:34 | petr.viktorin | set | recipients:
+ petr.viktorin, loewis, ncoghlan, pitrou, vstinner, christian.heimes, eli.bendersky |
2020-12-15 15:17:34 | petr.viktorin | set | messageid: <1608045454.1.0.192509082844.issue18710@roundup.psfhosted.org> |
2020-12-15 15:17:34 | petr.viktorin | link | issue18710 messages |
2020-12-15 15:17:33 | petr.viktorin | create | |
|