From: Neal Norwitz Date: Wed, 16 Nov 2005 05:04:51 +0000 (+0000) Subject: version was not initialized properly X-Git-Tag: v2.5a0~1157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef78529e8620dd6f16f5072cd1e9290541188bec;p=python version was not initialized properly --- diff --git a/Python/marshal.c b/Python/marshal.c index 1962f924ff..ff8247c9f2 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -1035,6 +1035,7 @@ marshal_dump(PyObject *self, PyObject *args) wf.error = 0; wf.depth = 0; wf.strings = (version > 0) ? PyDict_New() : 0; + wf.version = version; w_object(x, &wf); Py_XDECREF(wf.strings); if (wf.error) {