is this a bug?
vasvir at iit.demokritos.gr
Thu Aug 16 00:20:26 CEST 2001
I am using python 2.1 in Redhat Linux.
Do you find anything irrational to the following session?
>>> a is a
>>> a is '+='
>>> a = 'dsd'
>>> a is 'dsd'
>>> '+=' is '+='
I apologize if this has been brought to the attention of this group before.
Maybe I did misunderstand the use of the 'is' operator, but then how it is
supposed to work?
More information about the Python-list