cpython/Objects
Victor Stinner dd69564c38 PyObject_CallMethodObjArgs() now uses fast call
Issue #27809:

* PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and
  PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a
  temporary tuple
* Rename objargs_mktuple() to objargs_mkstack()
* objargs_mkstack() now stores objects in a C array using borrowed references,
  instead of storing arguments into a tuple

objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments
or less, or allocates a buffer in the heap memory.

Note: this change is different than the change 0e4f26083bbb, I fixed the test
to decide if the small stack can be used or not. sizeof(PyObject**) was also
replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same
result).
2016-08-24 01:14:54 +02:00
..
clinic Issue #27574: Decreased an overhead of parsing keyword arguments in functions 2016-08-14 10:52:18 +03:00
stringlib Backed out changeset b0087e17cd5e (issue #26765) 2016-07-03 13:57:48 +03:00
README
abstract.c PyObject_CallMethodObjArgs() now uses fast call 2016-08-24 01:14:54 +02:00
accu.c
boolobject.c
bytearrayobject.c Issue #27704: Optimized creating bytes and bytearray from byte-like objects 2016-08-15 09:46:07 +03:00
bytes_methods.c Issue #27474: Unified error messages in the __contains__ method of bytes and 2016-07-10 12:37:30 +03:00
bytesobject.c Issue #27704: Optimized creating bytes and bytearray from byte-like objects 2016-08-15 09:46:07 +03:00
capsule.c
cellobject.c fix indentation of comments in cellobject.c (closes #27011) 2016-05-12 23:12:21 -07:00
classobject.c
codeobject.c Issue #15984: Merge PyUnicode doc from 3.5 2016-04-15 02:27:11 +00:00
complexobject.c
descrobject.c Issue #27809: Use _PyObject_FastCallDict() 2016-08-22 23:21:55 +02:00
dict-common.h
dictnotes.txt
dictobject.c Merge: #20647: Update dictobject.c comments to account for randomized string hashes. 2016-07-10 12:40:03 -04:00
enumobject.c Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
exceptions.c Issue #27692: Removed unnecessary NULL checks in exceptions.c. 2016-08-20 21:22:03 +03:00
fileobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
floatobject.c Issue #26983: float() now always return an instance of exact float. 2016-06-03 21:42:55 +03:00
frameobject.c Issue #20041: Fixed TypeError when frame.f_trace is set to None. 2016-06-04 20:33:33 +03:00
funcobject.c Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 2016-04-10 18:12:01 +03:00
genobject.c Merge 3.5 (issue #27243) 2016-06-09 15:13:16 -04:00
iterobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
listobject.c Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang Zhang. 2016-08-21 08:55:15 +01:00
listsort.txt
lnotab_notes.txt
longobject.c Issue #27792: force int return type for modulo operations involving bools. 2016-08-22 12:24:46 +01:00
memoryobject.c
methodobject.c _PyFunction_FastCallDict() supports keyword args 2016-08-22 23:15:44 +02:00
moduleobject.c Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
namespaceobject.c
object.c Issue #23034: The output of a special Python build with defined COUNT_ALLOCS, 2016-07-03 21:03:53 +03:00
obmalloc.c Issue #26249: Try test_capi on Windows 2016-04-22 18:52:22 +02:00
odictobject.c Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
rangeobject.c Issue #27333: Simplified testing step on 0. 2016-06-18 09:51:55 +03:00
setobject.c Removed unused initialization and the uninteresting comment. 2016-04-29 01:37:05 -07:00
sliceobject.c fix slice cache finalization to use gc del 2016-04-16 15:12:29 -07:00
structseq.c
tupleobject.c Issue #1621: Avoid signed overflow in list and tuple operations 2016-07-25 02:39:20 +00:00
typeobject.c Issue #27809: Use _PyObject_FastCallDict() 2016-08-22 23:33:13 +02:00
typeslots.inc
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c
unicodeobject.c Issue #26754: Undocumented support of general bytes-like objects 2016-08-06 23:29:29 +03:00
unicodetype_db.h
weakrefobject.c Issue #17765: weakref.ref() no longer silently ignores keyword arguments. 2016-05-07 15:43:59 +03:00

README

Source files for various builtin objects