724 Commits (434723f94cfc27079f5ae91600c8baf384db334e)

Author SHA1 Message Date
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 9 years ago
Nick Coghlan 944368e1cc Issue #23722: Initialize __class__ from type.__new__() 9 years ago
Serhiy Storchaka 7c19affdce Issue #25856: The __module__ attribute of extension classes and functions 9 years ago
Benjamin Peterson 6cb526e54d remove unconvincing use of Py_LOCAL 9 years ago
Eric Snow 4f29e75289 Issue #24254: Drop cls.__definition_order__. 9 years ago
Christian Heimes 07a2a1b7e5 Additional safe-guard against dereferencing NULL in reduce_newobj 9 years ago
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Victor Stinner ad8c83ad6b Avoid inefficient way to call functions without argument 9 years ago
Eric Snow 92a6c170e6 Issue #24254: Preserve class attribute definition order. 9 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Victor Stinner 3f1057a4b6 method_call() and slot_tp_new() now uses fast call 9 years ago
Victor Stinner 463b86a881 Issue #27809: Use _PyObject_FastCallDict() 9 years ago
Victor Stinner 559bb6a713 Rename _PyObject_FastCall() to _PyObject_FastCallDict() 9 years ago
Victor Stinner 253021dd94 Issue #27366: Fix init_subclass() 9 years ago
Victor Stinner 6911267615 slot_tp_iter() now uses fast call 9 years ago
Victor Stinner 20a3007a8d slot_nb_bool() now uses fast call 9 years ago
Victor Stinner a12eec48b6 Issue #27128: Cleanup slot_nb_bool() 9 years ago
Victor Stinner 5e87749a8e Issue #27128: slot_sq_item() uses fast call 9 years ago
Victor Stinner 018016d8e3 Issue #27128: Cleanup slot_sq_item() 9 years ago
Victor Stinner f736c261a2 call_method() and call_maybe() now use fast call 9 years ago
Victor Stinner 94463c980e Cleanup call_method() and call_maybe() 9 years ago
Victor Stinner 6902ddf2ca Fix a refleak in call_maybe() 9 years ago
Victor Stinner d925bd5794 Fix a refleak in call_method() 9 years ago
Victor Stinner a7720f61aa contains and rich compare slots use fast call 9 years ago
Berker Peksag 3f015a64b8 Issue #27157: Make only type() itself accept the one-argument form 9 years ago