[pypy-issue] Issue #1891: pypy3: ``struct.Struct('i').format`` should be bytes, not string (pypy/pypy)

Campbell Barton issues-reply at bitbucket.org
Wed Oct 15 10:08:33 CEST 2014

New issue 1891: pypy3: ``struct.Struct('i').format`` should be bytes, not string

Campbell Barton:

In CPython 3.4x:

    >>> import struct
    >>> struct.Struct('i').format

In Pypy3 Python 3.2.5 (986752d005bb6c65ce418113e4c3cd115f61a9b4, Jul 08 2014, 12:36:44)

    >>>> import struct
    >>>> struct.Struct('i').format

This caused one of my scripts to fail running in pypy3.

More information about the pypy-issue mailing list