750 Commits (d393c1b227f22fb9af66040b2b367c99a4d1fa9a)

Author SHA1 Message Date
Eric Snow d393c1b227 bpo-28411: Isolate PyInterpreterState.modules (#3575) 8 years ago
Eric Snow 93c92f7d1d bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565) 8 years ago
Serhiy Storchaka e3b2b4b8d9 bpo-31393: Fix the use of PyUnicode_READY(). (#3451) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
Eric Snow 05351c1bd8 Revert "bpo-30860: Consolidate stateful runtime globals." (#3379) 8 years ago
Eric Snow 76d5abc868 bpo-30860: Consolidate stateful runtime globals. (#2594) 8 years ago
Eric Snow 86b7afdfee bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638) 8 years ago
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