]> granicus.if.org Git - python/commit
gc_list_move(): Make this truly equivalent to remove+append. While
authorTim Peters <tim.peters@gmail.com>
Mon, 1 Nov 2004 16:39:57 +0000 (16:39 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 1 Nov 2004 16:39:57 +0000 (16:39 +0000)
commitbc1d1b80d1abfd7f95cb02e7f09be18b94504559
tree04de032a82c04d8545f7e9a9002ed4218fd23389
parent099ecfbec9a2a8bdca0ce9afdad4e1158b8e2169
gc_list_move():  Make this truly equivalent to remove+append.  While
nothing in gc currently cares, the original coding could screw up if,
e.g., you tried to move a node to the list it's already in, and the node
was already the last in its list.
Modules/gcmodule.c