◐ Shell
clean mode source ↗

[2.7] bpo-27535: Fix memory leak with warnings ignore by vstinner · Pull Request #4588 · python/cpython

The warnings module doesn't leak memory anymore in the hidden
warnings registry for the "ignore" action of warnings filters.

The warn_explicit() function doesn't add the warning key to the
registry anymore for the "ignore" action.

https://bugs.python.org/issue27535