It's really strange,

if
a = 1
b = 1
a is b ==> True

the same thing applies for strings, but not for dict, lists or tuples
I think the 'is' operator is useful for objects only, not for primitive
types, 
I think I solved the mystery behind my bugged code =)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to