[Patches] Re: Comparison of cyclic objects (was RE: [Python-Dev] trashcan and PR#7)
Fri, 14 Apr 2000 19:15:09 +0200 (CEST)
Jeremy Hylton wrote:
> Here it is contextified. One small difference from the previous patch
> is that NESTING_LIMIT is now only 1000. I think this is sufficient to
> cover commonly occuring nested containers.
> [patch omitted]
I think you don't need the _PyCompareState_flag. Like in trashcan,
_PyCompareState_nesting is enough to enter the sections of the code
that depend on _PyCompareState_flag.
Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252