[pypy-issue] Issue #1995: PyPy3: pickle.dumps(-2**63) hangs forever (pypy/pypy)

Lisandro Dalcin issues-reply at bitbucket.org
Mon Mar 9 17:00:53 CET 2015


New issue 1995: PyPy3: pickle.dumps(-2**63) hangs forever
https://bitbucket.org/pypy/pypy/issue/1995/pypy3-pickledumps-2-63-hangs-forever

Lisandro Dalcin:

Could any of you please try to reproduce this?

```
#!shell
$ cat pkl.py 
import pickle
print(pickle.dumps(-2**63+1))
print(pickle.dumps(-2**63-1))
print(pickle.dumps(-2**63))

$ pypy3 pkl.py 
b'\x80\x03\x8a\x08\x01\x00\x00\x00\x00\x00\x00\x80.'
b'\x80\x03\x8a\t\xff\xff\xff\xff\xff\xff\xff\x7f\xff.'
```

and then the interpreter hangs forever.





More information about the pypy-issue mailing list