
Dec. 16, 2021
12:26 a.m.
On Wed, Dec 15, 2021 at 3:00 PM Guido van Rossum <guido@python.org> wrote:
who cares if the refcount for None is 5000 or 1610612736? As long as the refcount of *mortal* objects is the same as it was before, this shouldn't be a problem.
indeed: $ python -c "import sys; print(sys.getrefcount(None))" 4110 and a newly started iPython session: In [2]: sys.getrefcount(None) Out[2]: 28491 It does seem a bit silly to actually be tracking that refcount :-) -CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython