[Zope-Checkins] CVS: Zope2 - cPickle.c:1.72
Tue, 9 May 2000 14:05:09 -0400
Update of /cvs-repository/Zope2/lib/Components/cPickle
In directory korak.digicool.com:/tmp/cvs-serv29807
Fixed a bug that led to core dumps 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.