Tail recursion to while iteration in 2 easy steps
Piet van Oostrum
piet at vanoostrum.org
Mon Oct 7 18:03:56 EDT 2013
Alain Ketterlin <alain at dpt-info.u-strasbg.fr> writes:
> BTW, does the original callable object have a ref counter? Is it garbage
> collected in that case? If not, would it be considered a bug?
In CPython ALL objects have ref counters.
--
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
More information about the Python-list
mailing list