Message361044
> What is the problem between _Py_IDENTIFIER and multi-phase initialisation modules?
AFAIK there is no problem now, except possibly a race condition when initializing the identifiers.
It seems it's too easy to conflate porting to multi-phase initialization and getting rid of static state.
The problem will come with per-interpreter reference counting, or when the `str` class is no longer shared across all interpreters. For that, we'll need either per-interpreter identifiers, or solve the issue in another way. |
|
Date |
User |
Action |
Args |
2020-01-30 11:53:21 | petr.viktorin | set | recipients:
+ petr.viktorin, ncoghlan, vstinner, eric.snow, shihai1991 |
2020-01-30 11:53:21 | petr.viktorin | set | messageid: <1580385201.02.0.695380062415.issue39465@roundup.psfhosted.org> |
2020-01-30 11:53:21 | petr.viktorin | link | issue39465 messages |
2020-01-30 11:53:20 | petr.viktorin | create | |
|