[Python-3000] Transitional GC?
"Martin v. Löwis"
martin at v.loewis.de
Sun Sep 24 22:00:35 CEST 2006
Talin schrieb:
> I wonder if there is a way to create an API for extension modules that
> would allow a gradual phase-out of reference counting, towards a 'pure' GC.
>
> (Let's leave aside the merits of reference counting vs. non-reference
> counting for another thread - please.)
>
> Most of the discussion up to this point has assumed that there's a sharp
> line between the two GC schemes - in other words, once you switch over,
> you have to migrate every extension module all at once.
I think this is a minor issue. Your approach assumes that moving to
a tracing GC will require module authors to change their code. Perhaps
that isn't necessary. It is difficult to tell, in the abstract, whether
your proposal works or not.
Regards,
Martin
More information about the Python-3000
mailing list