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 | petr.viktorin |
|---|---|
| Recipients | corona10, eric.snow, erlendaasland, jack__d, lukasz.langa, petr.viktorin, shihai1991, trygveaa, vstinner |
| Date | 2021年08月17日.13:02:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1629205377.34.0.58501480702.issue44050@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Maybe the old behavior was better: if an extension uses the old API, share its state between all interpreters. Yes, I think the old behavior was better: if an extension uses the old API, share its state between all interpreters. This is obviously bad, but I don't see how skipping part of initialization (as done in https://github.com/python/cpython/commit/82c83bd907409c287a5bd0d0f4598f2c0538f34d#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3L721-R719 ) is better. (Note that the "def->m_size == -1" means that the module does not support sub-interpreters, because it has global state, per https://docs.python.org/3/c-api/module.html#c.PyModuleDef.m_size) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021年08月17日 13:02:57 | petr.viktorin | set | recipients: + petr.viktorin, vstinner, lukasz.langa, eric.snow, corona10, shihai1991, erlendaasland, trygveaa, jack__d |
| 2021年08月17日 13:02:57 | petr.viktorin | set | messageid: <1629205377.34.0.58501480702.issue44050@roundup.psfhosted.org> |
| 2021年08月17日 13:02:57 | petr.viktorin | link | issue44050 messages |
| 2021年08月17日 13:02:57 | petr.viktorin | create | |