commit | 36bb181cdffbb80b555fd8454c80e66e10657dde | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 31 05:57:34 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 31 05:57:34 1996 +0000 |
tree | 685c415853b788b2927d90596154d22d1254ea45 | |
parent | 3dd68d3364c58aa835fad93ab97c9aa2f3834b26 [diff] |
Rewrote _{read,write}_{short,long} to use the newly revamped struct module. (Small problem: struct.pack() won't deal with the Python long ints returned by struct.unpack() for the 'L' format. Worked around that for now.)