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

Unified Diff: Objects/funcobject.c

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Patch Set: Created 3 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Objects/funcobject.c Wed Jan 25 23:33:27 2017 +0100
+++ b/Objects/funcobject.c Thu Jan 26 02:43:18 2017 +0100
@@ -621,6 +621,8 @@ PyTypeObject PyFunction_Type = {
0, /* tp_init */
0, /* tp_alloc */
func_new, /* tp_new */
+
+ .tp_fastcall = _PyFunction_FastCallKeywords,
};

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