You can use the id() function to test equality of objects: [EMAIL PROTECTED]:~$ python Python 2.4.1 (#2, Mar 30 2005, 21:51:10) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> a = 3 >>> b = 3 >>> id(a) 135585176 >>> id(b) 135585176 >>>
-- http://mail.python.org/mailman/listinfo/python-list