any way to customize the is operator?

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Jan 27 04:37:20 EST 2006


Lonnie Princehouse enlightened us with:
> There doesn't seem to be any way to customize the behavior of "is" as
> can be done for other operators... why not?

Pure logic: A == A or A != A. An object is another object or not.
Why would you want to change that?

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list