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.
This commit is contained in:
Antoine Pitrou 2011-10-06 19:04:12 +02:00
commit c61c8d7a5e
13 changed files with 270 additions and 86 deletions

View file

@ -205,6 +205,10 @@ SOURCE=..\..\Objects\abstract.c
# End Source File
# Begin Source File
SOURCE=..\..\Objects\accu.c
# End Source File
# Begin Source File
SOURCE=..\..\Parser\acceler.c
# End Source File
# Begin Source File