Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] trashcan and PR#7

Jeremy Hyltonjeremy@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 forwhat to do when recursive traversals of objects occur.  This is truefor 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 = newl.append(original)repr(l)Jeremy


[8]ページ先頭

©2009-2025 Movatter.jp