Message372863
I can reproduce the crash using the following script.py:
---
import gc; gc.set_threshold(5)
import sys
old_modules = dict(sys.modules)
sys.modules.clear()
sys.modules.update(old_modules)
import _ast
import gc
gc.collect()
---
And the command:
---
./python -i < script.py
---
PyInit__ast() is called twice. That's surprising: builtin extension modules should only be initialized once. |
|
Date |
User |
Action |
Args |
2020-07-02 15:34:48 | vstinner | set | recipients:
+ vstinner, dino.viehland, arcivanov, pablogsal, BTaskaya |
2020-07-02 15:34:48 | vstinner | set | messageid: <1593704088.95.0.359343404151.issue41194@roundup.psfhosted.org> |
2020-07-02 15:34:48 | vstinner | link | issue41194 messages |
2020-07-02 15:34:48 | vstinner | create | |
|