[Python-checkins] python/dist/src/Lib pickletools.py,1.8,1.9
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Mon, 27 Jan 2003 15:54:06 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv7305/Lib
Modified Files:
pickletools.py
Log Message:
Documented the 2's-comp business for the new long opcodes.
Index: pickletools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickletools.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** pickletools.py 27 Jan 2003 23:51:36 -0000 1.8
--- pickletools.py 27 Jan 2003 23:54:04 -0000 1.9
***************
*** 632,636 ****
This first reads one byte as an unsigned size, then reads that
! many bytes and interprets them as a little-endian long.
""")
--- 632,636 ----
This first reads one byte as an unsigned size, then reads that
! many bytes and interprets them as a little-endian 2's-complement long.
""")
***************
*** 662,666 ****
This first reads two byte as an unsigned size, then reads that
! many bytes and interprets them as a little-endian long.
""")
--- 662,666 ----
This first reads two byte as an unsigned size, then reads that
! many bytes and interprets them as a little-endian 2's-complement long.
""")
***************
*** 695,699 ****
This first reads four bytes as a signed size (but requires the
size to be >= 0), then reads that many bytes and interprets them
! as a little-endian long.
""")
--- 695,699 ----
This first reads four bytes as a signed size (but requires the
size to be >= 0), then reads that many bytes and interprets them
! as a little-endian 2's-complement long.
""")