New issue 1891: pypy3: ``struct.Struct('i').format`` should be bytes, not string
https://bitbucket.org/pypy/pypy/issue/1891/pypy3-structstruct-i-format-should-be
Campbell Barton:
In CPython 3.4x:
>>> import struct
>>> struct.Struct('i').format
b'i'
In Pypy3 Python 3.2.5 (986752d005bb6c65ce418113e4c3cd115f61a9b4, Jul 08 2014,
12:36:44)
>>>> import struct
>>>> struct.Struct('i').format
'i'
This caused one of my scripts to fail running in pypy3.
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue