[Baypiggies] Trip-up

Dennis Reinhardt DennisR at dair.com
Fri Jul 28 17:51:06 CEST 2006


At 08:36 AM 7/28/2006, Paul McNett wrote:
>  >>> a = 123456
>  >>> b = 123456
>  >>> a is b
>False

But ...
 >>> a == b
True

>I guess my new mantra is
>"never work with unbound objects..."

A better mantra might be "use == to compare values"
----------------------------------
| Dennis    | DennisR at dair.com   |
| Reinhardt | Powerful Anti-Spam |
----------------------------------



More information about the Baypiggies mailing list