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

Delta Between Two Patch Sets: Modules/_operator.c

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Left Patch Set: Created 3 years ago
Right Patch Set: Created 3 years 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
LEFTRIGHT
(Both sides are equal)
1 1
2 #include "Python.h" 2 #include "Python.h"
3 3
4 #include "clinic/_operator.c.h" 4 #include "clinic/_operator.c.h"
5 5
6 /*[clinic input] 6 /*[clinic input]
7 module _operator 7 module _operator
8 [clinic start generated code]*/ 8 [clinic start generated code]*/
9 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=672ecf48487521e7]*/ 9 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=672ecf48487521e7]*/
10 10
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 return NULL; 1764 return NULL;
1765 Py_INCREF(&attrgetter_type); 1765 Py_INCREF(&attrgetter_type);
1766 PyModule_AddObject(m, "attrgetter", (PyObject *)&attrgetter_type); 1766 PyModule_AddObject(m, "attrgetter", (PyObject *)&attrgetter_type);
1767 1767
1768 if (PyType_Ready(&methodcaller_type) < 0) 1768 if (PyType_Ready(&methodcaller_type) < 0)
1769 return NULL; 1769 return NULL;
1770 Py_INCREF(&methodcaller_type); 1770 Py_INCREF(&methodcaller_type);
1771 PyModule_AddObject(m, "methodcaller", (PyObject *)&methodcaller_type); 1771 PyModule_AddObject(m, "methodcaller", (PyObject *)&methodcaller_type);
1772 return m; 1772 return m;
1773 } 1773 }
LEFTRIGHT

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