[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

Serhiy Storchaka report at bugs.python.org
Wed Nov 22 05:23:57 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think it is common if filters don't depend on the warning test. In this case we can test and set the key (None, category, lineno) before (text, category, lineno).

----------

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


More information about the Python-bugs-list mailing list