commit | 1164dfcb86757ebaeb68276e4b8f6ee266c9968d | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Oct 12 22:25:39 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Oct 12 22:25:39 2013 +0200 |
tree | 763f8772f413d230b2a56248ab5ecd28b6b0f1b1 | |
parent | 4c6ed25b9621c58d081f06660ca7f970836ec3c6 [diff] [blame] |
Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.
diff --git a/Include/marshal.h b/Include/marshal.h index 0c69655..77d9c5e 100644 --- a/Include/marshal.h +++ b/Include/marshal.h
@@ -7,7 +7,7 @@ extern "C" { #endif -#define Py_MARSHAL_VERSION 3 +#define Py_MARSHAL_VERSION 4 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);