[issue15642] Integrate pickle protocol version 4 GSoC work by Stefan Mihaila

Antoine Pitrou report at bugs.python.org
Thu Sep 6 20:07:02 CEST 2012


Antoine Pitrou added the comment:

> Are there also some known techniques on tracking down memory leaks?

Nothing more than the usual debugging techniques. It is more of a matter of taste whether you like to add print() (or printf ;-)) calls, or set breakpoints in an actual debugger.

> i.e. pickle.dumps(3.0+1j, 4) leaks but pickle.dumps(3.0+1j, 3) does
not.

Well it looks like you've narrowed things down a bit here.

> However, there appears to be no difference in the code that gets
> executed in v3 to the one executed in v4.

Even the differences in memoization?

----------

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


More information about the Python-bugs-list mailing list