]> granicus.if.org Git - python/commit
Rearranged and added comments to object.h, to clarify many things
authorTim Peters <tim.peters@gmail.com>
Sun, 7 Jul 2002 19:59:50 +0000 (19:59 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 7 Jul 2002 19:59:50 +0000 (19:59 +0000)
commit4be93d0e848ca2dc55f119a7b0eb31fb995d7d33
tree8182b9569a84e2a82a942c5eb97963cbf7e2c98b
parent144dea3e05d82388c73011d66733726048765ebd
Rearranged and added comments to object.h, to clarify many things
that have taken me "too long" to reverse-engineer over the years.
Vastly reduced the nesting level and redundancy of #ifdef-ery.
Took a light stab at repairing comments that are no longer true.

sys_gettotalrefcount():  Changed to enable under Py_REF_DEBUG.
It was enabled under Py_TRACE_REFS, which was much heavier than
necessary.  sys.gettotalrefcount() is now available in a
Py_REF_DEBUG-only build.
Include/object.h
Objects/object.c
Python/sysmodule.c