Message375290
> Py_Finalize() calls _PyUnicode_ClearInterned() which clears interned strings. Which strings are still alive after Py_Finalize()?
Yes.especially those encodings, interpreter leaks much encodings refcount after Py_Finalize(). I am not sure they are corner cases or not.
Maybe we could check it again afer we have done all convert works.
No matter how many times `Py_Initialize(); Py_Finalize();` have called, Holding a same interned of unicodeobject.c all the time sound like a stupied idea. |
|
Date |
User |
Action |
Args |
2020-08-13 04:46:06 | shihai1991 | set | recipients:
+ shihai1991, amaury.forgeotdarc, kylotan, vstinner, tlesher, phsilva, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, koubaa |
2020-08-13 04:46:06 | shihai1991 | set | messageid: <1597293966.67.0.776502345411.issue1635741@roundup.psfhosted.org> |
2020-08-13 04:46:06 | shihai1991 | link | issue1635741 messages |
2020-08-13 04:46:06 | shihai1991 | create | |
|