Author: guido.van.rossum
Date: Mon Jul 30 02:04:35 2007
New Revision: 56623

Modified:
   python/branches/py3k-struni/Python/marshal.c
Log:
Add a missing "rf.depth = 0;" to marshal_load().
Reported by Joe Smith.  This makes the CYGWIN tests pass;
it's a miracle it didn't fail on other platforms.
Seems like it was accidentally dropped (maybe a merge artifact?).


Modified: python/branches/py3k-struni/Python/marshal.c
==============================================================================
--- python/branches/py3k-struni/Python/marshal.c        (original)
+++ python/branches/py3k-struni/Python/marshal.c        Mon Jul 30 02:04:35 2007
@@ -1181,6 +1181,7 @@
                return NULL;
        }
        rf.strings = PyList_New(0);
+       rf.depth = 0;
        result = read_object(&rf);
        Py_DECREF(rf.strings);
        Py_DECREF(data);
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to