Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support older Python 2.7 versions #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 2, 2017

  1. Support older Python 2.7 versions

    Python 2.7.2 and 2.7.3 struct.unpack() fail with:
    
        error: unpack requires a string argument of length 4
    
    Due to bytearray parameter. Casting as bytes() works for both Python 2.7.x and 3.x.
    
    http://stackoverflow.com/questions/20612587/struct-unpack-with-bytearrays has more information
    clach04 authored May 2, 2017
    Configuration menu
    Copy the full SHA
    a652e02 View commit details
    Browse the repository at this point in the history