[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

Decorater report at bugs.python.org
Tue Nov 21 19:23:10 EST 2017


Decorater <seandhunt_7 at yahoo.com> added the comment:

If it was me I would store the warning registry in an error log or something in the current directory that ran python itself. (maybe something like ``[main script name].log``? This way it generates the warnings like usual and does not eat up memory. And then the log could to turned off when they dont want any warnings (when ignored).

----------
nosy: +Decorater

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


More information about the Python-bugs-list mailing list