summaryrefslogtreecommitdiffstats
path: root/Include/sliceobject.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-07-02 00:52:30 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-07-02 00:52:30 (GMT)
commitea405639bff00b4c177026b474a9d75207c0bf1b (patch)
tree60c5deaa5a010c28c3784cbf93f9add8af42ad7d /Include/sliceobject.h
parent7c75bf2090c58ac0d2bb57220c41327285bf7c1a (diff)
downloadcpython-ea405639bff00b4c177026b474a9d75207c0bf1b.zip
cpython-ea405639bff00b4c177026b474a9d75207c0bf1b.tar.gz
cpython-ea405639bff00b4c177026b474a9d75207c0bf1b.tar.bz2
Reserved another gc_refs value for untracked objects. Every live gc
object should now have a well-defined gc_refs value, with clear transitions among gc_refs states. As a result, none of the visit_XYZ traversal callbacks need to check IS_TRACKED() anymore, and those tests were removed. (They were already looking for objects with specific gc_refs states, and the gc_refs state of an untracked object can no longer match any other gc_refs state by accident.) Added more asserts. I expect that the gc_next == NULL indicator for an untracked object is now redundant and can also be removed, but I ran out of time for this.
Diffstat (limited to 'Include/sliceobject.h')
0 files changed, 0 insertions, 0 deletions