Message341595
Currently we use the _PyRuntime static global to access the runtime state in various places. At the same time, in thread contexts we get access to the thread state from Thread-Local Storage and the interpreter state by indirection from there. We should do the same for the runtime state instead of using the global directly.
My plan is to add a PyInterpreterState.runtime field. It can then be used in the same way we use PyThreadState.interp to access the interpreter state. |
|
Date |
User |
Action |
Args |
2019-05-06 18:45:44 | eric.snow | set | recipients:
+ eric.snow, vstinner |
2019-05-06 18:45:44 | eric.snow | set | messageid: <1557168344.92.0.643564511932.issue36818@roundup.psfhosted.org> |
2019-05-06 18:45:44 | eric.snow | link | issue36818 messages |
2019-05-06 18:45:44 | eric.snow | create | |
|