743 Commits (48d9823a0ebde4dfab8bc154bb6df462fb2ee403)

Author SHA1 Message Date
Serhiy Storchaka 6969eaf468 bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955) 9 years ago
Serhiy Storchaka 4e624ca50a bpo-30509: Clean up calling type slots. (#1883) 9 years ago
Serhiy Storchaka d896985bb2 bpo-25794: Fix `type.__setattr__()` for non-interned attribute names. (#1652) 9 years ago
Serhiy Storchaka 7e19dbc92e bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506) 9 years ago
Xiang Zhang 8e1ddbd592 fix a refleak in slot_sq_length (#1162) 9 years ago
Serhiy Storchaka baf9f29811 bpo-29839: Raise ValueError rather than OverflowError in len() for negative values. (#701) 9 years ago
Serhiy Storchaka 813f943c59 bpo-29838: Add asserts for checking results of sq_length and mq_length slots. (#700) 9 years ago
Serhiy Storchaka 205e00c5cf bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843) 9 years ago
T. Wouters a00c3fd12d bpo-29941: Assert fixes (#886) 9 years ago
Serhiy Storchaka fff9a31a91 bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748) 9 years ago
Serhiy Storchaka 5c643a028e bpo-20185: Convert typeobject.c to Argument Clinic. (#544) 9 years ago
Xiang Zhang c393ee8589 bpo-24329: allow __qualname__ and __classcell__ in __slots__ (GH-495) 9 years ago
INADA Naoki 72dccde884 bpo-29548: Fix some inefficient call API usage (GH-97) 9 years ago
Victor Stinner 516b98161a Optimize slots: avoid temporary PyMethodObject 9 years ago
INADA Naoki 35a96a25ee Issue #29383: reduce temporary interned unicode 9 years ago
Victor Stinner bda5a2be37 Issue #29358: Add postcondition checks on types 9 years ago
Serhiy Storchaka 228b12edcc Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 9 years ago
Victor Stinner a8cb515a29 Rephrase !PyErr_Occurred() comment: may=>can 9 years ago
Victor Stinner d526cfe546 type_prepare() now uses fast call (METH_FASTCALL) 9 years ago
Victor Stinner 434723f94c call_method() now uses _PyObject_FastCall() 9 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 9 years ago
Serhiy Storchaka 49010ee323 Revert changeset 1f31bf3f76f5 (issue5322) except tests. 9 years ago
Victor Stinner 887b4307b6 Use _PyObject_FastCallVa() in type slots 9 years ago
Victor Stinner a5ed5f000a Use _PyObject_CallNoArg() 9 years ago
Victor Stinner 2d0eb65f45 Uniformize argument names of "call" functions 9 years ago
Victor Stinner 9083eb6aac Use directly _PyObject_GenericSetAttrWithDict() 9 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 9 years ago
Nick Coghlan 19d246745d Issue #23722: improve __classcell__ compatibility 9 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 9 years ago
Serhiy Storchaka 5adfac2c1b Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. 9 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 9 years ago
Victor Stinner 8be1c39eb3 Backed out changeset 7efddbf1aa70 9 years ago
Victor Stinner ebea9988e0 Uniformize argument names of "call" functions 9 years ago
Serhiy Storchaka 9ec07721f4 Issue #28797: Modifying the class __dict__ inside the __set_name__ method of 9 years ago
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 9 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 9 years ago
Serhiy Storchaka f5894dd646 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. 9 years ago
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 9 years ago
Serhiy Storchaka d1af5effc2 Issue #28385: An error message when non-empty format spec is passed to 9 years ago
Serhiy Storchaka d5d32d2127 Issue #28214: Improved exception reporting for problematic __set_name__ 9 years ago
Christian Heimes 5cade88ac1 Check return value of _PyDict_SetItemId() 9 years ago
Serhiy Storchaka 8ef34600c7 Issue #26906: Resolving special methods of uninitialized type now causes 9 years ago
Serhiy Storchaka de0574bdab Issue #18287: PyType_Ready() now checks that tp_name is not NULL. 9 years ago
Benjamin Peterson 8f657c35b9 ensure gc tracking is off when invoking weakref callbacks (closes #26617) 9 years ago
Serhiy Storchaka afd02a439f Issue #28214: Now __set_name__ is looked up on the class instead of the 10 years ago
Nick Coghlan 944368e1cc Issue #23722: Initialize __class__ from type.__new__() 10 years ago
Serhiy Storchaka 7c19affdce Issue #25856: The __module__ attribute of extension classes and functions 10 years ago
Benjamin Peterson 6cb526e54d remove unconvincing use of Py_LOCAL 10 years ago
Eric Snow 4f29e75289 Issue #24254: Drop cls.__definition_order__. 10 years ago
Christian Heimes 07a2a1b7e5 Additional safe-guard against dereferencing NULL in reduce_newobj 10 years ago