Open
Description
[maybe split into more granular tasks]
- move the global state back to Include/internal (see below)
- move
PyRuntimeState.obj
toPyInterpreterState.obj
- move
PyRuntimeState.mem
toPyInterpreterState.mem
Notable concerns:
- very delicate code
- allocators needed before main interpreter created (?)
- keep a global allocator?
The global state for this was moved back out of Include/internal
to fix a bug. That PR encapsulates the relevant global state and C-API pretty well.