File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3185,7 +3185,7 @@ def __getitem__(self, x):
31853185
31863186def subtype_resurrection ():
31873187 if verbose :
3188- print "Testing resurrection of new-style instance."
3188+ print "Testing resurrection of new-style instance... "
31893189
31903190 class C (object ):
31913191 container = []
@@ -3196,9 +3196,8 @@ def __del__(self):
31963196
31973197 c = C ()
31983198 c .attr = 42
3199- # The only interesting thing here is whether this blows up in a
3200- # debug build, due to flawed GC tracking logic in typeobject.c's
3201- # call_finalizer() (a 2.2.1 bug).
3199+ # The only interesting thing here is whether this blows up, due to flawed
3200+ # GC tracking logic in typeobject.c's call_finalizer() (a 2.2.1 bug).
32023201 del c
32033202 del C .container [- 1 ] # resurrect it again for the heck of it
32043203 vereq (C .container [- 1 ].attr , 42 )
You can’t perform that action at this time.
0 commit comments