Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
bpo-1635741: Release Unicode interned strings at exit#21269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
* PyUnicode_InternInPlace() now ensures that interned strings are ready.* Add _PyUnicode_ClearInterned().* Py_Finalize() now releases Unicode interned strings: call _PyUnicode_ClearInterned().
Python has between 1446 ( This PR has no significant impact on timing of the
@shihai1991 proposed PR#21087 to solve the same problem. My PR clears interned strings before calling _PyDict_Fini() and _PyList_Fini(), since _PyUnicode_ClearInterned() uses a dict and a list. |
* PyUnicode_InternInPlace() now ensures that interned strings are ready.* Add _PyUnicode_ClearInterned().* Py_Finalize() now releases Unicode interned strings: call _PyUnicode_ClearInterned().
Uh oh!
There was an error while loading.Please reload this page.
ready.
call _PyUnicode_ClearInterned().
https://bugs.python.org/issue1635741