summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-09 18:14:50 +0000
committerGuido van Rossum <guido@python.org>2000-05-09 18:14:50 +0000
commitea2b7157ababce79234978416a05a3bc7eddf960 (patch)
tree9066355920e5aee7caa7aed436f92179105b9960 /Python/codecs.c
parent625d70a7a6fed4193380cb410795e54a6069f3bf (diff)
downloadcpython-git-ea2b7157ababce79234978416a05a3bc7eddf960.tar.gz
New version from Jim Fulton to fix a problem that Eric Raymond ran
into. Jim writes: The core dump was due to a C decrement operation in a macro invocation in load_pop. (BAD) I fixed this by moving the decrement outside the macro call. I added a comment to load_pop and load_mark to document the fact that cPickle separates the unpickling stack into two separate stacks, one for objects and one for marks. I also moved some increments out of some macro calls (PyTuple_SET_ITEM and PyList_SET_ITEM). This wasn't necessary, but made me feel better. :) I tested these changes in *my* cPickle, which doesn't have the new Unicode stuff.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions