On Monday, December 29, 2008, at 04:01PM, "Feat" <j...@ai.univ-paris8.fr> wrote: >I thought a string was stored as a unique object, so why isn't this evidenced >by the code below ?
Because strings aren't stored as unique objects. That is, there is no guarantee whatsoever that 'string1 == string2' implies 'string1 is string2'. Ronald _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig