Files
cpython/Modules/_ctypes
Victor Stinner 5670764812 Use _PyObject_CallMethodIdObjArgs() in _ctypes
Issue #28915: Replace _PyObject_CallMethodId() with
_PyObject_CallMethodIdObjArgs() in unpickle(). _PyObject_CallMethodIdObjArgs()
avoids the creation of a temporary tuple and doesn't have to parse a format
string.

Replace _PyObject_CallMethodId() with _PyObject_GetAttrId()+PyObject_Call() for
the second call since it requires to "unpack" a tuple.

Add also a check in the type of the second parameter (state): it must be a
tuple.
2016-12-09 15:18:31 +01:00
..
2016-09-08 09:15:54 -07:00
2016-12-06 18:46:19 +01:00
2016-09-08 09:15:54 -07:00
2016-09-08 09:25:03 -07:00
2016-12-06 18:45:50 +01:00