New submission from Marios Kourtesis: Hello,
Executing the following code in a Python2 interpreter the result is True while running the same code in Python3 is False. I tested this in Python version 2.7.10 and 3.4.2. a = b'a' b = b'b' c = a+b c[1] == b'b' When I call type(c[1]) in Python2 I get str: type(c[1]) <type 'str'> While in Python3 I get int: type(c[1]) <class 'int'> Is this the expected behavior? ---------- components: Interpreter Core messages: 254613 nosy: Marios Kourtesis priority: normal severity: normal status: open title: Bytes Issue type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25620> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com