Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(108630)

Delta Between Two Patch Sets: Python/marshal.c

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Python/importlib_external.h ('k') | Tools/iOS-test/app/iOS-test/main.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 1
2 /* Write Python objects to files and read them back. 2 /* Write Python objects to files and read them back.
3 This is primarily intended for writing and reading compiled Python code, 3 This is primarily intended for writing and reading compiled Python code,
4 even though dicts, lists, sets and frozensets, not commonly seen in 4 even though dicts, lists, sets and frozensets, not commonly seen in
5 code objects, are supported. 5 code objects, are supported.
6 Version 3 of this protocol properly supports circular links 6 Version 3 of this protocol properly supports circular links
7 and sharing. */ 7 and sharing. */
8 8
9 #define PY_SSIZE_T_CLEAN 9 #define PY_SSIZE_T_CLEAN
10 10
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 1831
1832 PyMODINIT_FUNC 1832 PyMODINIT_FUNC
1833 PyMarshal_Init(void) 1833 PyMarshal_Init(void)
1834 { 1834 {
1835 PyObject *mod = PyModule_Create(&marshalmodule); 1835 PyObject *mod = PyModule_Create(&marshalmodule);
1836 if (mod == NULL) 1836 if (mod == NULL)
1837 return NULL; 1837 return NULL;
1838 PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION); 1838 PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION);
1839 return mod; 1839 return mod;
1840 } 1840 }
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+