Feature or enhancement
Proposal:
I hope this issue will complete _datetime isolation.
My concerns (and answers)
-
Py_MOD_PER_INTERPRETER_GIL_SUPPORTED should be applied in sync with _zoninfo?
-
Can a module state have a C-API structure, keeping a capsule just for comatibility?
- NO: Possible, but a user should not touch the module state.
-
C-API supports only the main interpreter? Otherwise, PyInterpreterState is acceptable to point each structure?
- NO: PyDateTimeAPI cannot emit an error. Also, no PyInterpreterState member is accessible from datetime.h. UPDATE: Seems to be possible by using a global function pointer instead of a function.
Specific issue:
Links to previous discussion of this feature:
Linked PRs (closed)
Details
Linked PRs
Reactions are currently unavailable
Feature or enhancement
Proposal:
I hope this issue will complete _datetime isolation.
My concerns (and answers)Py_MOD_PER_INTERPRETER_GIL_SUPPORTED should be applied in sync with _zoninfo?
Can a module state have a C-API structure, keeping a capsule just for comatibility?
C-API supports only the main interpreter? Otherwise, PyInterpreterState is acceptable to point each structure?
Specific issue:
Links to previous discussion of this feature:
Linked PRs (closed)
DetailsLinked PRs