[Python-Dev] PEP 372 -- Adding an ordered directory tocollectionsready for pronouncement

Armin Ronacher armin.ronacher at active-4.com
Mon Mar 2 22:45:35 CET 2009


Hi,

Guido van Rossum <guido <at> python.org> writes:
> This sounds fair. Note that dict.__eq__ actually returns
> NotImplemented if not isinstance(other, dict) so you could tighten the
> test to isinstance(other, dict) if you wanted to.
I'm actually very happy with that decision.  The original PEP was doing
exactly that and I still think it makes more sense.

[sorry Raymond :)]

Regards,
Armin





More information about the Python-Dev mailing list