[Python-Dev] Trashing recursive objects comparison?

Raymond Hettinger python at rcn.com
Fri Oct 24 14:31:37 EDT 2003


[Guido]
> You've convinced me.  It should be noted in the NEWS file that it may
> breaks some apps; I'm sure there are a bunch of clever folks out there
> who liked the bisimulation approach enough to depend on it :-).
> 
> Anyone else not in favor, please speak up over the weekend so Armin
> can check it in on Monday.

Armin is working on speeding up the patch.  I recommend holding off
until we can measure the performance impact of a revised patch.  If it
only affects cyclic structures, it's no big deal.  But if it impacts
normal equality tests, that warrants a little more discussion.

Another thought is that it would be prudent to see how much breakage can
be expected.  For example, perhaps the patch can tried on an older
python to see if Zope can deal with it.

Otherwise, the patch is elegant and simplifies the code quite a bit.

Also, Armin's well written proposal ought to be preserved somewhere
(like Tim's listsort.txt file).


Raymond Hettinger




More information about the Python-Dev mailing list