[Python-checkins] r64489 - python/trunk/Modules/cPickle.c
thomas.heller
python-checkins at python.org
Mon Jun 23 16:49:56 CEST 2008
Author: thomas.heller
Date: Mon Jun 23 16:49:56 2008
New Revision: 64489
Log:
Fix compilation on Windows.
Modified:
python/trunk/Modules/cPickle.c
Modified: python/trunk/Modules/cPickle.c
==============================================================================
--- python/trunk/Modules/cPickle.c (original)
+++ python/trunk/Modules/cPickle.c Mon Jun 23 16:49:56 2008
@@ -1519,11 +1519,12 @@
PyObject *obj;
PyObject *slice[BATCHSIZE];
int i, n;
- self->nesting++;
static char append = APPEND;
static char appends = APPENDS;
+ self->nesting++;
+
assert(iter != NULL);
if (self->proto == 0) {
@@ -1659,11 +1660,12 @@
PyObject *p;
PyObject *slice[BATCHSIZE];
int i, n;
- self->nesting++;
static char setitem = SETITEM;
static char setitems = SETITEMS;
+ self->nesting++;
+
assert(iter != NULL);
if (self->proto == 0) {
More information about the Python-checkins
mailing list