[New-bugs-announce] [issue16738] Comparisons difference: bytes with bytes, str with str

Ivan Bykov report at bugs.python.org
Thu Dec 20 14:49:38 CET 2012


New submission from Ivan Bykov:

Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> b = b't'
>>> b[0] in [b]
False
>>> u = 't'
>>> u[0] in [u]
True

----------
messages: 177817
nosy: ivb
priority: normal
severity: normal
status: open
title: Comparisons difference: bytes with bytes, str with str
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list