Issue 36835: Move the warnings runtime state into per-interpreter state. (original) (raw)

Created on 2019-05-07 16:09 by eric.snow, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13159 open eric.snow,2019-05-07 16:11
Messages (2)
msg341763 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2019-05-07 16:09
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.
msg341765 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2019-05-07 16:15
dupe of #36737
History
Date User Action Args
2022-04-11 14:59:14 admin set github: 81016
2019-05-07 16:15:14 eric.snow set status: open -> closedresolution: duplicatemessages: + stage: patch review -> resolved
2019-05-07 16:11:53 eric.snow set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest13076>
2019-05-07 16:09:33 eric.snow create