[issue36835] Move the warnings runtime state into per-interpreter state.
Eric Snow
report at bugs.python.org
Tue May 7 12:09:33 EDT 2019
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
Currently the warnings module uses runtime-global state (PyRuntimeState.warnings). That should be moved down to per-interpreter state. There are three possible places:
1. the module's "module state"
2. the module's __dict__
3. PyInterpreterState.warnings (new)
I have a patch for the first option.
----------
assignee: eric.snow
components: Interpreter Core
messages: 341763
nosy: eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Move the warnings runtime state into per-interpreter state.
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36835>
_______________________________________
More information about the Python-bugs-list
mailing list