Searched refs:Py_MARSHAL_VERSION (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Python/clinic/ |
D | marshal.c.h | 35 int version = Py_MARSHAL_VERSION; in marshal_dump() 105 int version = Py_MARSHAL_VERSION; in marshal_dumps()
|
/external/python/cpython2/Include/ |
D | marshal.h | 10 #define Py_MARSHAL_VERSION 2 macro
|
/external/python/cpython3/Include/ |
D | marshal.h | 10 #define Py_MARSHAL_VERSION 4 macro
|
/external/python/cpython3/Programs/ |
D | _freeze_importlib.c | 109 marshalled = PyMarshal_WriteObjectToString(code, Py_MARSHAL_VERSION); in main()
|
/external/python/cpython3/Doc/c-api/ |
D | marshal.rst | 19 ``Py_MARSHAL_VERSION`` indicates the current file format (currently 2).
|
/external/python/cpython2/Doc/c-api/ |
D | marshal.rst | 19 format for floating point numbers. *Py_MARSHAL_VERSION* indicates the current
|
/external/python/cpython2/Python/ |
D | marshal.c | 1260 int version = Py_MARSHAL_VERSION; in marshal_dump() 1334 int version = Py_MARSHAL_VERSION; in marshal_dumps() 1422 PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION); in PyMarshal_Init()
|
D | import.c | 973 PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION); in write_compiled_module() 975 PyMarshal_WriteLongToFile(0L, fp, Py_MARSHAL_VERSION); in write_compiled_module() 976 PyMarshal_WriteObjectToFile((PyObject *)co, fp, Py_MARSHAL_VERSION); in write_compiled_module() 988 PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION); in write_compiled_module()
|
/external/python/cpython3/Python/ |
D | marshal.c | 1807 if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) { in PyMarshal_Init()
|