]> granicus.if.org Git - python/commit
Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or...
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 6 Oct 2011 16:57:27 +0000 (18:57 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 6 Oct 2011 16:57:27 +0000 (18:57 +0200)
commiteeb7eea1f95793437b3e251f47c98446e15fa680
treee83a45f7eddbc424f375a89581a918baf2a42dcd
parentbb2095f1e273d06f7dfaa8303c46ce6f01212c76
Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.

This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
13 files changed:
Include/Python.h
Include/accu.h [new file with mode: 0644]
Lib/test/test_list.py
Lib/test/test_tuple.py
Makefile.pre.in
Misc/NEWS
Objects/accu.c [new file with mode: 0644]
Objects/listobject.c
Objects/tupleobject.c
PC/VC6/pythoncore.dsp
PC/VS7.1/pythoncore.vcproj
PC/VS8.0/pythoncore.vcproj
PCbuild/pythoncore.vcproj