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 shihai1991
Recipients eric.snow, ncoghlan, petr.viktorin, shihai1991, vstinner
Date 2020-02-07.02:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The GIL avoids any risk of race condition, no?

Looks like the GIL would affect performance more or less?

>_Py_IDENTIFIER() would only be a "key" and _PyUnicode_FromId() would >store the value somewhere in a hash table stored in PyInterpreterState.


IMHO, for those two cases, the simplest idea is move IDENTIFIER to moduleState which would increase more memory usage than InterpreterState.
Date User Action Args
2020-02-07 02:59:23shihai1991setrecipients: + shihai1991, ncoghlan, vstinner, petr.viktorin, eric.snow
2020-02-07 02:59:23shihai1991setmessageid: <>
2020-02-07 02:59:23shihai1991linkissue39465 messages
2020-02-07 02:59:23shihai1991create