-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
P1medium prioritymedium priorityX [isolation]improved interpreter isolationimproved interpreter isolationX [runtime]CPython runtime (lifecycle, state)CPython runtime (lifecycle, state)complexity: highvery hard to figure outvery hard to figure outsize: largerequires a lot of changesrequires a lot of changestype: enhancement
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.
Metadata
Metadata
Assignees
Labels
P1medium prioritymedium priorityX [isolation]improved interpreter isolationimproved interpreter isolationX [runtime]CPython runtime (lifecycle, state)CPython runtime (lifecycle, state)complexity: highvery hard to figure outvery hard to figure outsize: largerequires a lot of changesrequires a lot of changestype: enhancement