[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Xiang Zhang
Xiang Zhang added the comment: This is the same problem as #28147. -- nosy: +xiang.zhang resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Unbounded memory growth resizing split-table dicts ___ Python tracker

[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Marius Gedminas
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 -- __

[issue28894] Memory leak in dict.pop()

2016-12-07 Thread Marius Gedminas
New submission from Marius Gedminas: Run the following script with Python 3.6.0rc1: class O: pass o = O() for n in range(20): print(n) o.x = 42 o.__dict__.pop('x', None) You can observe the memory usage of the Python process growing exponentially. E