Martin v. Loewis
01 May 2002 21:31:18 +0200
Tim Peters <firstname.lastname@example.org> writes:
> How do we know which other objects they refer to? How do we know that the
> set of objects they refer to will never change? And do we have a reason to
> believe that any type other than tuples makes a lick of difference <wink>?
I'd suggest a tp_is_immutable predicate. If a container is immutable
and non-cyclic, it can be untracked. A container is non-cyclic if all
contained objects are either non-gc, or untracked.