summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-20 20:43:58 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-20 20:43:58 (GMT)
commit8dd05147d6224f4982ef6b14d904bb600ef33ea3 (patch)
treef65fc6569e9fdb3ef82719d268531676f2b2743d /Python/pymath.c
parent6dc4396708010c001bc4ac1a95550f806f654408 (diff)
downloadcpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.zip
cpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.tar.gz
cpython-8dd05147d6224f4982ef6b14d904bb600ef33ea3.tar.bz2
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.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions