diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-16 05:04:51 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-16 05:04:51 (GMT) |
commit | ef78529e8620dd6f16f5072cd1e9290541188bec (patch) | |
tree | 4efcdfbcff4fee31b858cd850ac2f612eeb7c3c9 /Python | |
parent | b61602c96821997884e7de08d56404904baa034b (diff) | |
download | cpython-ef78529e8620dd6f16f5072cd1e9290541188bec.zip cpython-ef78529e8620dd6f16f5072cd1e9290541188bec.tar.gz cpython-ef78529e8620dd6f16f5072cd1e9290541188bec.tar.bz2 |
version was not initialized properly
Diffstat (limited to 'Python')
-rw-r--r-- | Python/marshal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 1962f92..ff8247c 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) { |