[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

Steve Dower report at bugs.python.org
Tue Mar 17 11:20:23 EDT 2020


Steve Dower <steve.dower at python.org> added the comment:

> Instead of passing `_PyRuntimeState` around everywhere, why not just let it disappear in time.

Agreed. It's valuable to pass the thread state, but the runtime state should only be needed to create a new thread state (and arguably not even then).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36710>
_______________________________________


More information about the Python-bugs-list mailing list