[Python-ideas] Do we need non-heap types any more? (Was: Implicit submodule imports)
Antoine Pitrou
solipsis at pitrou.net
Sat Sep 27 02:07:51 CEST 2014
On Sat, 27 Sep 2014 01:03:04 +0100
Nathaniel Smith <njs at pobox.com> wrote:
> Static type objects are still subject to the refcounting machinery in
> most cases (try sys.getrefcount(int)),
So what about it? :-)
>>> sys.getrefcount(int)
69
>>> x = list(range(10000))
>>> sys.getrefcount(int)
69
Regards
Antoine.
More information about the Python-ideas
mailing list