Staging
v0.5.1
https://github.com/python/cpython
Revision e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 authored by Tim Peters on 01 November 2004, 01:39:08 UTC, committed by Tim Peters on 01 November 2004, 01:39:08 UTC
Introduced gc_list_move(), which captures the common gc_list_remove() +
gc_list_append() sequence.  In fact, no uses of gc_list_append() remained
(they were all in a gc_list_move() sequence), so commented that one out.

gc_list_merge():  assert that `from` != `to`; that was an implicit
precondition, now verified in a debug build.

Others:  added comments about their purpose.
1 parent cc2a866
History
Tip revision: e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 authored by Tim Peters on 01 November 2004, 01:39:08 UTC
gc list function cleanup.
Tip revision: e2d5918
File Mode Size
.cvsignore -rw-r--r-- 21 bytes
building.tex -rw-r--r-- 5.3 KB
embedding.tex -rw-r--r-- 11.5 KB
ext.tex -rw-r--r-- 1.7 KB
extending.tex -rw-r--r-- 55.8 KB
newtypes.tex -rw-r--r-- 53.8 KB
noddy.c -rw-r--r-- 1.7 KB
noddy2.c -rw-r--r-- 4.9 KB
noddy3.c -rw-r--r-- 5.8 KB
noddy4.c -rw-r--r-- 5.4 KB
run-func.c -rw-r--r-- 2.0 KB
setup.py -rw-r--r-- 285 bytes
test.py -rw-r--r-- 3.7 KB
windows.tex -rw-r--r-- 13.7 KB

back to top