[issue27572] Support bytes-like objects when base is given to int()
Xiang Zhang
report at bugs.python.org
Sat Jul 23 15:00:17 EDT 2016
Xiang Zhang added the comment:
pypy seems so.
[PyPy 5.2.0-alpha0 with GCC 4.8.2] on linux
>>>> int(memoryview(b'123A'[1:3]))
23
>>>> int(memoryview(b'123 '[1:3]))
23
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27572>
_______________________________________
More information about the Python-bugs-list
mailing list