cpython/Objects
Victor Stinner 4778eab1f2 Replace PyObject_CallFunction() with fastcall
Replace
    PyObject_CallFunction(func, "O", arg)
and
    PyObject_CallFunction(func, "O", arg, NULL)
with
    _PyObject_CallArg1(func, arg)

Replace
    PyObject_CallFunction(func, NULL)
with
    _PyObject_CallNoArg(func)

_PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
memory on the C stack.
2016-12-01 14:51:04 +01:00
..
clinic
stringlib Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc. 2016-10-30 18:25:27 +02:00
README
abstract.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
accu.c
boolobject.c
bytearrayobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
bytes_methods.c
bytesobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
capsule.c
cellobject.c
classobject.c
codeobject.c Issue #19569: Compiler warnings are now emitted if use most of deprecated 2016-11-20 12:16:46 +02:00
complexobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
descrobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
dict-common.h
dictnotes.txt
dictobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
enumobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
exceptions.c Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*. 2016-10-23 15:12:25 +03:00
fileobject.c Added the const qualifier to char* variables that refer to readonly internal 2016-11-20 10:16:47 +02:00
floatobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
frameobject.c Issue #28618: Make hot functions using __attribute__((hot)) 2016-11-11 02:13:35 +01:00
funcobject.c
genobject.c Replace PyObject_CallFunction() with fastcall 2016-12-01 14:51:04 +01:00
iterobject.c
listobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
listsort.txt
lnotab_notes.txt
longobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
memoryobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
methodobject.c
moduleobject.c Issue #28748: Private variable _Py_PackageContext is now of type "const char *" 2016-11-21 10:25:54 +02:00
namespaceobject.c
object.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
obmalloc.c
odictobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
rangeobject.c
setobject.c Added the const qualifier to char* variables that refer to readonly internal 2016-11-20 10:16:47 +02:00
sliceobject.c
structseq.c Issue #28761: The fields name and doc of structures PyMemberDef, PyGetSetDef, 2016-11-22 07:58:08 +02:00
tupleobject.c
typeobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00
unicodetype_db.h
weakrefobject.c Replace PyObject_CallFunctionObjArgs() with fastcall 2016-12-01 14:43:22 +01:00

README

Source files for various builtin objects