]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Merged revisions 68814-68815 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Tue, 20 Jan 2009 21:20:01 +0000 (21:20 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 20 Jan 2009 21:20:01 +0000 (21:20 +0000)
commit053ce7e51d34f2f394a36d5d144c6ba9fc0bba0b
tree8b5ec178a371e9be5427361d47a8f6cf77c3fa75
parentfa1f6b69dde18b90429922cbc40320483e020aae
Merged revisions 68814-68815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r68814 | mark.dickinson | 2009-01-20 20:43:58 +0000 (Tue, 20 Jan 2009) | 5 lines

  Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with the
  'L' opcode always appends an 'L' on output, just as 2.x does.  When
  unpickling, remove the trailing 'L' (if present) before passing the
  result to PyLong_FromString.
........
  r68815 | mark.dickinson | 2009-01-20 20:45:53 +0000 (Tue, 20 Jan 2009) | 2 lines

  Issue 4842, patch 2/2:  int('3L') should be invalid in Python 3.x.
........
Lib/pickle.py
Lib/pickletools.py
Lib/test/pickletester.py
Lib/test/test_long.py
Misc/NEWS
Modules/_pickle.c
Objects/longobject.c