Mercurial > cpython-lru_cache-weakref
diff Python/getversion.c @ 24126:fdf80e04e4bb legacy-trunk
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.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sun, 07 Jul 2002 19:59:50 +0000 |
| parents | 379fc66f4c96 |
| children | 9f2fbee420da |
