734 Commits (1e73dbbc29c96d0739ffef92db36f63aa1aa30da)

Author SHA1 Message Date
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
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Victor Stinner ad8c83ad6b Avoid inefficient way to call functions without argument 10 years ago
Eric Snow 92a6c170e6 Issue #24254: Preserve class attribute definition order. 10 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 10 years ago
Victor Stinner 3f1057a4b6 method_call() and slot_tp_new() now uses fast call 10 years ago
Victor Stinner 463b86a881 Issue #27809: Use _PyObject_FastCallDict() 10 years ago
Victor Stinner 559bb6a713 Rename _PyObject_FastCall() to _PyObject_FastCallDict() 10 years ago
Victor Stinner 253021dd94 Issue #27366: Fix init_subclass() 10 years ago
Victor Stinner 6911267615 slot_tp_iter() now uses fast call 10 years ago