summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2005-06-03 14:41:55 (GMT)
committerMichael W. Hudson <mwh@python.net>2005-06-03 14:41:55 (GMT)
commitdf88846ebca9186514e86bc2067242233ade4608 (patch)
tree345828bee8f325fc38b74827a08f80e098dff9ea /Include
parent268e61cf7458d85d2e100480635390ebd480088f (diff)
downloadcpython-df88846ebca9186514e86bc2067242233ade4608.zip
cpython-df88846ebca9186514e86bc2067242233ade4608.tar.gz
cpython-df88846ebca9186514e86bc2067242233ade4608.tar.bz2
This is my patch:
[ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails.
Diffstat (limited to 'Include')
-rw-r--r--Include/marshal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/marshal.h b/Include/marshal.h
index fc491dd..a9f7320 100644
--- a/Include/marshal.h
+++ b/Include/marshal.h
@@ -7,7 +7,7 @@
extern "C" {
#endif
-#define Py_MARSHAL_VERSION 1
+#define Py_MARSHAL_VERSION 2
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);