booleans, hash() and objects having the same value

Terry Reedy tjreedy at udel.edu
Wed Jan 30 21:26:20 EST 2008


"Ryszard Szopa" <ryszard.szopa at gmail.com> wrote in message 
news:9cdb261f-b81b-4eca-955a-a9b516eba9d2 at s13g2000prd.googlegroups.com...
|
| (Also, it is not completely clear what it means for two Python objects
| to "have the same value".

Objects of different types compare unequal unless provision is made 
otherwise.

See http://docs.python.org/ref/comparisons.html for more






More information about the Python-list mailing list