This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, methane, serhiy.storchaka, shihai1991, vstinner
Date 2021-12-08.11:28:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638962915.31.0.256830927564.issue41692@roundup.psfhosted.org>
In-reply-to
Content
I cannot find "PyUnicode_InternImmortal" pattern in the source code of the PyPI top 5000 projects (December 1, 2021).

I only found a false positive in frozendict-2.1.1:

frozendict/src/3_10/cpython_src/Include/unicodeobject.h: // PyUnicode_InternImmortal() is deprecated since Python 3.10
frozendict/src/3_10/cpython_src/Include/unicodeobject.h: Py_DEPRECATED(3.10) PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);
frozendict/src/3_6/cpython_src/Include/unicodeobject.h: PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);
frozendict/src/3_7/cpython_src/Include/unicodeobject.h: PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);
frozendict/src/3_8/cpython_src/Include/unicodeobject.h: PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);
frozendict/src/3_9/cpython_src/Include/unicodeobject.h: PyAPI_FUNC(void) PyUnicode_InternImmortal(PyObject **);

These are copies of the Python unicodeobject.h header files, but the PyUnicode_InternImmortal() function is not called by frozendict.

I used my download_pypi_top.py and search_pypi_top.py tools which can be found at:
https://github.com/vstinner/misc/tree/main/cpython
History
Date User Action Args
2021-12-08 11:28:35vstinnersetrecipients: + vstinner, methane, serhiy.storchaka, corona10, shihai1991
2021-12-08 11:28:35vstinnersetmessageid: <1638962915.31.0.256830927564.issue41692@roundup.psfhosted.org>
2021-12-08 11:28:35vstinnerlinkissue41692 messages
2021-12-08 11:28:35vstinnercreate