Hello all. I'm getting an OverflowError error only when I run my program in pypy. I've simplified it to a couple of lines:
binasciiproblem.py: import binascii value = 0 new_value = 'a' value = binascii.crc32(new_value, value) & 0xffffffff value = binascii.crc32(new_value, value) & 0xffffffff Python 2.7.1: runs without problems. PyPy 1.5 and pypy-c-jit-45752-e490f90f2aa1-linux64.tar.bz2 (7/20 nightly): Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "binasciiproblem.py", line 6, in <module> value = binascii.crc32(new_value, value) & 0xffffffff OverflowError: long int too large to convert to int Ideas? Is this a problem in my code noticed by PyPy or a PyPy library API issue? I've been toying around with a PPM compressor and could sure use PyPy's speed boosts for the longer runs! Thanks, -Roger _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev