Segev Finer added the comment:

I think you will need to save and restore _filters_version and _onceregistry. 
Since _filters_version is a static variable in _warnings.c you will probably 
also have to modify it somehow to make it accessible to warnings.py.

----------
components: +Library (Lib)
nosy: +Segev Finer
type:  -> behavior
versions: +Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29672>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to