Message133040
The fact that "is" works in this way here is just an implementation detail. If you want to compare strings use ==, "is" is used to verify if two variables refer to the same object or not.
>>> x = 100
>>> x is 100
True
>>> x = 1000
>>> x is 1000
False |
|
Date |
User |
Action |
Args |
2011-04-05 15:23:24 | ezio.melotti | set | recipients:
+ ezio.melotti, shadyabhi |
2011-04-05 15:23:24 | ezio.melotti | set | messageid: <1302017004.93.0.836323354956.issue11773@psf.upfronthosting.co.za> |
2011-04-05 15:23:24 | ezio.melotti | link | issue11773 messages |
2011-04-05 15:23:24 | ezio.melotti | create | |
|