]> 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 17:04:12 +0000 (19:04 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 6 Oct 2011 17:04:12 +0000 (19:04 +0200)
commitc61c8d7a5e2884238494a678ecd22c812b062280
tree3fd366f94e25c5b3d5cc9430f8fc2b7de869e782
parentc6f0df7b2095eaf0a6d5914a043f9062f66d19f7
parenteeb7eea1f95793437b3e251f47c98446e15fa680
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.
Include/Python.h
Makefile.pre.in
Misc/NEWS
Objects/listobject.c
Objects/tupleobject.c
PC/VC6/pythoncore.dsp
PC/VS7.1/pythoncore.vcproj
PCbuild/pythoncore.vcproj