[New-bugs-announce] [issue11773] Unicode compared using "is" results in abnormal behavior

Abhijeet Rastogi report at bugs.python.org
Tue Apr 5 17:18:59 CEST 2011


New submission from Abhijeet Rastogi <abhijeet.1989 at gmail.com>:

>>> a = u'0'
>>> a is u'0'
False
>>> a == u'0'
True
>>>

----------
components: Unicode
messages: 133038
nosy: shadyabhi
priority: normal
severity: normal
status: open
title: Unicode compared using "is" results in abnormal behavior
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11773>
_______________________________________


More information about the New-bugs-announce mailing list