On Fri, 25 Jan 2008 07:57:38 +0000, Pete Forman wrote:
> Mark Dickinson <[EMAIL PROTECTED]> writes:
>
> > Any change to Python that made == and != checks involving NaNs raise
> > an exception would have to consider the consequences for set, dict,
> > list membership testing.
> > […]
> > and if Python had separate operators for these two purposes it
> > wouldn't be Python any more.
>
> There are separate Python operators, "==" and "is".
So what? ``==`` is used for both ``==`` and set/dict/list membership
testing and "nested comparison" of those structures. There is no ``is``
involved.
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list