A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003414.html below:

[Python-Dev] trashcan and PR#7

[Python-Dev] trashcan and PR#7 [Python-Dev] trashcan and PR#7Jeremy Hylton jeremy@cnri.reston.va.us
Wed, 12 Apr 2000 15:07:41 -0400 (EDT)
Just after I sent the previous message, I realized that the "trashcan"
approach is needed in addition to some application-specific logic for
what to do when recursive traversals of objects occur.  This is true
for repr and for a compare that fixes PR#7.

Current recipe for repr coredump:

original = l = []
for i in range(1000000):
    new = []
    l.append(new)
    l = new
l.append(original)
repr(l)

Jeremy




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4