It is a little weird to me that the refs number in the interactive environment increases 2 after a new object is defined. I created only one object, isn't it?
>>> v
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'v' is not defined
[41830 refs]
>>> v = "v"
[41832 refs]
refs?configurewith the--with-pydebugoption when building Python, or install thepython-dbgpackage on Debian or Ubuntu.