[Python-Dev] rich comparisions and old-style classes

2006-04-30 Thread Fredrik Lundh
trying to come up with a more concise description of the rich comparision machinery for pyref.infogami.com, I stumbled upon an oddity that I cannot really explain: in the attached example below, why is the rich comparision machinery doing *four* attempts to use __eq__ in the old- class case? /F

Re: [Python-Dev] rich comparisions and old-style classes

2006-04-30 Thread Armin Rigo
Hi Fredrik, On Sun, Apr 30, 2006 at 08:13:40AM +0200, Fredrik Lundh wrote: trying to come up with a more concise description of the rich comparision machinery for pyref.infogami.com, That's quite optimistic. It's a known dark area. I stumbled upon an oddity that I cannot really explain:

Re: [Python-Dev] rich comparisions and old-style classes

2006-04-30 Thread Michael Foord
Armin Rigo wrote: Hi Fredrik, On Sun, Apr 30, 2006 at 08:13:40AM +0200, Fredrik Lundh wrote: trying to come up with a more concise description of the rich comparision machinery for pyref.infogami.com, That's quite optimistic. It's a known dark area. I stumbled upon an