]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-1635741: Release Unicode interned strings at exit (GH-21269)
authorVictor Stinner <vstinner@python.org>
Wed, 1 Jul 2020 23:19:57 +0000 (01:19 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 23:19:57 +0000 (01:19 +0200)
commit666ecfb0957a2fa0df5e2bd03804195de74bdfbf
tree7d848ed239aeeece4ac47aaec793d1368d531b78
parent90db4653ae37ef90754cfd2cd6ec6857b87a88e6
bpo-1635741: Release Unicode interned strings at exit (GH-21269)

* PyUnicode_InternInPlace() now ensures that interned strings are
  ready.
* Add _PyUnicode_ClearInterned().
* Py_Finalize() now releases Unicode interned strings:
  call _PyUnicode_ClearInterned().
Include/internal/pycore_pylifecycle.h
Objects/unicodeobject.c
Python/pylifecycle.c