[issue28894] Memory leak in dict.pop()

Marius Gedminas report at bugs.python.org
Wed Dec 7 09:48:45 EST 2016


Marius Gedminas added the comment:

If you're curious where this happens in real life, py.test's CaptureManager.deactivate_funcargs() does

    self.__dict__.pop("_capfuncarg", None)

and I found it by running 'tox -e py36' on https://github.com/mgedmin/eazysvn

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28894>
_______________________________________


More information about the Python-bugs-list mailing list