[Patches] New sys method to return total reference count in debug builds.
Trent Mick
trentm@activestate.com
Wed, 7 Jun 2000 16:29:36 -0700
> _Py_RefTotal is a count... it has nothing to do with sizes. I can't imagine
> that it would be changed to a size_t (and I'd say it *shouldn't*).
That is why I said "size_t (or something like that)". Yes, you are right, but
if sizeof(_Py_RefTotal) == size(void*) then you are guaranteed that it will
never overflow. Perhaps I should have said 'intptr_t'.
Trent
--
Trent Mick
trentm@activestate.com