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 moytrage
Recipients moytrage
Date 2022-02-23.06:12:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645596729.1.0.194216196654.issue46832@roundup.psfhosted.org>
In-reply-to
Content
1) Downloaded https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tar.xz

2) Compiled under MSVC 2019 with define EXPERIMENTAL_ISOLATED_SUBINTERPRETERS

3) Got compilation error of file Objects/unicodeobject.c at line 15931, about undefined variable "interned", it is function _PyUnicode_ClearInterned(), uncompilable code is "if (interned == NULL) {".


This happens because when EXPERIMENTAL_ISOLATED_SUBINTERPRETERS is defined then INTERNED_STRINGS is undefined hence global variable "static PyObject *interned = NULL;" is not created, and _PyUnicode_ClearInterned() uses this global variable "interned".

For reference attaching my version of "unicodeobject.c" which has compilation error at line 15931.
History
Date User Action Args
2022-02-23 06:12:09moytragesetrecipients: + moytrage
2022-02-23 06:12:09moytragesetmessageid: <1645596729.1.0.194216196654.issue46832@roundup.psfhosted.org>
2022-02-23 06:12:09moytragelinkissue46832 messages
2022-02-23 06:12:09moytragecreate