[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: map/filter/reduce/lambda opinions and background unscientific
From:       Reinhold Birkenfeld <reinhold-birkenfeld-nospam () wolke7 ! net>
Date:       2005-07-07 6:27:35
Message-ID: 3j40aoFocvh4U1 () individual ! net
[Download RAW message or body]

Ron Adam wrote:

> Given the statement:
> 
> a = None
> 
> And the following are all true:
> 
>   a == None

Okay.

> (a) == (None)

Okay.

> (a) == ()

Whoops! a (which is None) is equal to the empty tuple (which is not None)?

> (None) == ()
>
> Then this "conceptual" comparison should also be true:
> 
> if (None):  ==  if ():
> if (): == if:

I can't really see any coherent concept here.

Reinhold
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic