[PATCH 00 of 10] PyPy support

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Dec 2 03:27:50 CST 2010


On Thu, Dec 2, 2010 at 02:15, Matt Mackall <mpm at selenic.com> wrote:
> As for the rest, there are numerous places in the Python docs where
> reference counting is described as the primary memory management method.
> In fact, it's the garbage collector, not the reference counter that's
> described as optional.

I'm pretty sure reference counting is no longer mandated by
Python-the-language, it's just an implementation detail of CPython.
Any references in the official Python docs should probably be treated
as bugs.

See here: http://docs.python.org/release/2.6.6/reference/datamodel.html

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list