730 Commits (f6516af8f31003ce99fc68bbf86ea31aabbd0015)

Author SHA1 Message Date
Victor Stinner 516b98161a Optimize slots: avoid temporary PyMethodObject 9 years ago
INADA Naoki 35a96a25ee Issue #29383: reduce temporary interned unicode 10 years ago
Victor Stinner bda5a2be37 Issue #29358: Add postcondition checks on types 10 years ago
Serhiy Storchaka 228b12edcc Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever 10 years ago
Victor Stinner a8cb515a29 Rephrase !PyErr_Occurred() comment: may=>can 10 years ago
Victor Stinner d526cfe546 type_prepare() now uses fast call (METH_FASTCALL) 10 years ago
Victor Stinner 434723f94c call_method() now uses _PyObject_FastCall() 10 years ago
Serhiy Storchaka 5ab81d787f Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 10 years ago
Serhiy Storchaka 49010ee323 Revert changeset 1f31bf3f76f5 (issue5322) except tests. 10 years ago
Victor Stinner 887b4307b6 Use _PyObject_FastCallVa() in type slots 10 years ago
Victor Stinner a5ed5f000a Use _PyObject_CallNoArg() 10 years ago
Victor Stinner 2d0eb65f45 Uniformize argument names of "call" functions 10 years ago
Victor Stinner 9083eb6aac Use directly _PyObject_GenericSetAttrWithDict() 10 years ago
Victor Stinner 7bfb42d5b7 Issue #28858: Remove _PyObject_CallArg1() macro 10 years ago
Nick Coghlan 19d246745d Issue #23722: improve __classcell__ compatibility 10 years ago
Victor Stinner de4ae3d486 Backed out changeset b9c9691c72c5 10 years ago
Serhiy Storchaka 5adfac2c1b Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. 10 years ago
Victor Stinner 27580c1fb5 Replace PyObject_CallFunctionObjArgs() with fastcall 10 years ago
Victor Stinner 8be1c39eb3 Backed out changeset 7efddbf1aa70 10 years ago
Victor Stinner ebea9988e0 Uniformize argument names of "call" functions 10 years ago
Serhiy Storchaka 9ec07721f4 Issue #28797: Modifying the class __dict__ inside the __set_name__ method of 10 years ago
Serhiy Storchaka 85b0f5beb1 Added the const qualifier to char* variables that refer to readonly internal 10 years ago
Serhiy Storchaka 06515833fe Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 10 years ago
Serhiy Storchaka f5894dd646 Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. 10 years ago
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 10 years ago
Serhiy Storchaka d1af5effc2 Issue #28385: An error message when non-empty format spec is passed to 10 years ago
Serhiy Storchaka d5d32d2127 Issue #28214: Improved exception reporting for problematic __set_name__ 10 years ago
Christian Heimes 5cade88ac1 Check return value of _PyDict_SetItemId() 10 years ago
Serhiy Storchaka 8ef34600c7 Issue #26906: Resolving special methods of uninitialized type now causes 10 years ago
Serhiy Storchaka de0574bdab Issue #18287: PyType_Ready() now checks that tp_name is not NULL. 10 years ago
Benjamin Peterson 8f657c35b9 ensure gc tracking is off when invoking weakref callbacks (closes #26617) 10 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
Victor Stinner 20a3007a8d slot_nb_bool() now uses fast call 10 years ago
Victor Stinner a12eec48b6 Issue #27128: Cleanup slot_nb_bool() 10 years ago
Victor Stinner 5e87749a8e Issue #27128: slot_sq_item() uses fast call 10 years ago
Victor Stinner 018016d8e3 Issue #27128: Cleanup slot_sq_item() 10 years ago