[Python-checkins] commit of r41453 - python/trunk/Python

neal.norwitz@python.org neal.norwitz at python.org
Wed Nov 16 06:04:51 CET 2005


Author: neal.norwitz
Date: Wed Nov 16 06:04:51 2005
New Revision: 41453
Modified:
 python/trunk/Python/marshal.c
Log:
version was not initialized properly
Modified: python/trunk/Python/marshal.c
==============================================================================
--- python/trunk/Python/marshal.c	(original)
+++ python/trunk/Python/marshal.c	Wed Nov 16 06:04:51 2005
@@ -1035,6 +1035,7 @@
 	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) {


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /