summaryrefslogtreecommitdiff
path: root/Objects/typeobject.c
Commit message (Expand)AuthorAgeFilesLines
* Optimize slots: avoid temporary PyMethodObjectVictor Stinner2017-02-091-58/+125
* Issue #29383: reduce temporary interned unicodeINADA Naoki2017-01-281-3/+10
* Issue #29358: Add postcondition checks on typesVictor Stinner2017-01-251-3/+24
* Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE whereverSerhiy Storchaka2017-01-231-24/+12
* Rephrase !PyErr_Occurred() comment: may=>canVictor Stinner2017-01-181-1/+1
* type_prepare() now uses fast call (METH_FASTCALL)Victor Stinner2017-01-161-2/+3
* call_method() now uses _PyObject_FastCall()Victor Stinner2017-01-111-39/+61
* Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ...Serhiy Storchaka2016-12-161-8/+8
* Merge from 3.6.Serhiy Storchaka2016-12-141-95/+64
|\
| * Use _PyObject_FastCallVa() in type slotsVictor Stinner2016-12-091-81/+50
| * Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-071-1/+28
| |\
| * | Use _PyObject_CallNoArg()Victor Stinner2016-12-061-5/+5
| * | Uniformize argument names of "call" functionsVictor Stinner2016-12-061-5/+5
| * | Use directly _PyObject_GenericSetAttrWithDict()Victor Stinner2016-12-051-1/+1
| * | Issue #28858: Remove _PyObject_CallArg1() macroVictor Stinner2016-12-051-3/+3
| * | Merge #23722 from 3.6Nick Coghlan2016-12-051-2/+2
| |\ \
| | * | Backed out changeset b9c9691c72c5Victor Stinner2016-12-041-2/+4
| | * | Replace PyObject_CallFunctionObjArgs() with fastcallVictor Stinner2016-12-011-4/+2
| | * | Backed out changeset 7efddbf1aa70Victor Stinner2016-11-301-9/+8
| | * | Uniformize argument names of "call" functionsVictor Stinner2016-11-291-8/+9
| | * | Issue #28797: Modifying the class __dict__ inside the __set_name__ method ofSerhiy Storchaka2016-11-291-3/+11
| | |\ \
| | * | | Added the const qualifier to char* variables that refer to readonly internalSerhiy Storchaka2016-11-201-2/+2
* | | | | Merge from 3.6.Serhiy Storchaka2016-12-141-28/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Revert changeset 1f31bf3f76f5 (issue5322) except tests.Serhiy Storchaka2016-12-141-28/+1
* | | | | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.Serhiy Storchaka2016-12-071-199/+345
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Issue #23722: improve __classcell__ compatibilityNick Coghlan2016-12-051-2/+9
| | |/ | |/|
| * | Issue #28797: Modifying the class __dict__ inside the __set_name__ method ofSerhiy Storchaka2016-11-291-3/+11
| |/
| * Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSizeSerhiy Storchaka2016-11-201-3/+3
| * Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.Serhiy Storchaka2016-11-161-196/+327
| |\
| | * Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualT...Serhiy Storchaka2016-11-161-2/+2
| | |\
| | * \ Issue #28385: An error message when non-empty format spec is passed toSerhiy Storchaka2016-10-301-19/+9
| | |\ \
| | * | | Issue #28214: Improved exception reporting for problematic __set_name__Serhiy Storchaka2016-10-211-1/+6
| | * | | Check return value of _PyDict_SetItemId()Christian Heimes2016-10-131-1/+4
| | * | | Issue #26906: Resolving special methods of uninitialized type now causesSerhiy Storchaka2016-10-081-195/+318
| | |\ \ \
| | | * \ \ Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-0/+6
| | | |\ \ \
| | | * \ \ \ merge 3.5 (#26617)Benjamin Peterson2016-10-041-12/+13
| | | |\ \ \ \
| | | * | | | | Issue #28214: Now __set_name__ is looked up on the class instead of theSerhiy Storchaka2016-09-211-5/+7
| | | * | | | | Issue #23722: Initialize __class__ from type.__new__()Nick Coghlan2016-09-111-2/+11
| | | * | | | | Issue #25856: The __module__ attribute of extension classes and functionsSerhiy Storchaka2016-09-101-12/+15
| | | * | | | | remove unconvincing use of Py_LOCALBenjamin Peterson2016-09-091-6/+6
| | | * | | | | Issue #24254: Drop cls.__definition_order__.Eric Snow2016-09-081-65/+1
| | | * | | | | Additional safe-guard against dereferencing NULL in reduce_newobjChristian Heimes2016-09-091-1/+7
| | | * | | | | Avoid inefficient way to call functions without argumentVictor Stinner2016-09-051-4/+4
| | | * | | | | Issue #24254: Preserve class attribute definition order.Eric Snow2016-09-051-1/+65
| | | * | | | | Issue #27895: Spelling fixes (Contributed by Ville Skytt?).Raymond Hettinger2016-08-301-1/+1
| | | * | | | | method_call() and slot_tp_new() now uses fast callVictor Stinner2016-08-251-18/+5
| | | * | | | | Issue #27809: Use _PyObject_FastCallDict()Victor Stinner2016-08-221-15/+13
| | | * | | | | Rename _PyObject_FastCall() to _PyObject_FastCallDict()Victor Stinner2016-08-221-7/+7
| | | * | | | | Issue #27366: Fix init_subclass()Victor Stinner2016-08-201-0/+5
| | | * | | | | slot_tp_iter() now uses fast callVictor Stinner2016-08-191-6/+3