commit | 19ef62d5a98111df15400db22d18a3a555f5f1ff | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Aug 28 22:21:18 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Aug 28 22:21:18 2001 +0000 |
tree | 3cf07d9a119484f98bdc4dd1cbe4787bb7c3d224 | |
parent | 12778e314b884be72dba30145aff6ce8d0156344 [diff] |
pickle.py, load_int(): Match cPickle's just-repaired ability to unpickle 64-bit INTs on 32-bit boxes (where they become longs). Also exploit that int(str) and long(str) will ignore a trailing newline (saves creating a new string at the Python level). pickletester.py: Simulate reading a pickle produced by a 64-bit box.