summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
Commit message (Expand)AuthorAgeFilesLines
* Improve previous checkin to use a slot check instead of equivalentRaymond Hettinger2004-04-051-1/+2
* Improve accuracy of sequence and mapping checks.Raymond Hettinger2004-04-041-2/+8
* recursive_isinstance(), recursive_issubclass(): New code here returnedTim Peters2004-03-211-2/+2
* Limit the nesting depth of a tuple passed as the second argument toBrett Cannon2004-03-201-9/+36
* Add missing decrefRaymond Hettinger2004-03-171-0/+1
* Eliminate a big block of duplicate code in PySequence_List() byRaymond Hettinger2004-03-111-54/+6
* SF Patch #871704: Py_SequenceFast can mask errorsRaymond Hettinger2004-01-111-3/+11
* Apply pre-sizing optimization to a broader class of objects.Raymond Hettinger2004-01-041-8/+4
* Apply tuple/list pre-sizing optimization to a broader class of objects.Raymond Hettinger2004-01-041-1/+1
* Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItemRaymond Hettinger2003-10-271-1/+1
* Removed duplicate test from inner loop.Raymond Hettinger2003-03-011-6/+1
* Make PyNumber_Check() a bit more careful, since all sorts of thingsGuido van Rossum2003-02-181-1/+3
* Add missing cast in previous fix.Guido van Rossum2003-02-121-1/+2
* SF #532767: isinstance(x, X) should work when x is a proxy for an XGuido van Rossum2003-02-121-6/+19
* Fold long lines.Guido van Rossum2003-02-101-4/+7
* Merge to trunk from release branch:Guido van Rossum2002-12-311-0/+1
* Always try nb_* slots before trying sq_concat, sq_inplace_concat, sq_repeat,Neil Schemenauer2002-12-301-50/+128
* Change issubclass() so that recursive tuples (directly or indirectlyWalter Dörwald2002-12-121-4/+4
* Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald2002-12-121-28/+42
* Fix typo in abstract.c which caused __rpow__ to not be invoked.Raymond Hettinger2002-12-071-1/+1
* Simplify use of NB_BINOP and NB_TERNOP by making them do the pointerNeil Schemenauer2002-11-241-15/+15
* Remove special handling of str and unicode in PyNumber_InPlaceRemainder. TheyNeil Schemenauer2002-11-241-9/+2
* str and unicode objects now have a __mod__ slot so don't special case them inNeil Schemenauer2002-11-181-6/+0
* Use PyList_CheckExact and PyTuple_CheckExact for checking whetherMichael W. Hudson2002-11-051-1/+1
* Squash a few calls to the hideously expensive PyObject_CallObject(o,a)Guido van Rossum2002-08-161-2/+2
* Patch #554716: Use __va_copy where available.Martin v. Löwis2002-07-281-0/+4
* Close SF bug 563740. complex() now finds __complex__() in new style classes.Raymond Hettinger2002-06-061-2/+2
* Better isinstance error message.Thomas Heller2002-06-051-1/+2
* abstract_get_bases(): Clarify exactly what the return values andBarry Warsaw2002-04-231-9/+46
* SF bug 544647.Guido van Rossum2002-04-161-2/+6
* Whitespace normalization and fold some long lines.Guido van Rossum2002-04-161-20/+19
* Fix leak of NotImplemented in previous checkin to PyNumber_Add().Jeremy Hylton2002-03-081-4/+6
* Fix for SF bug 516727: MyInt(2) + "3" -> NotImplementedJeremy Hylton2002-03-081-4/+3
* Revert the last odd change to PyNumber_Long: the problem it was tryingTim Peters2002-03-021-10/+2
* SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjectsGuido van Rossum2002-03-011-2/+10
* Implement PyObject_DelItemString. Fixes #498915.Martin v. Löwis2002-01-051-0/+18
* PyObject_GetItem(), PyObject_SetItem(), PyObject_DelItem(): Fix a fewGuido van Rossum2001-11-241-5/+10
* Add PyObject_CheckReadBuffer(), which returns true if its argumentJeremy Hylton2001-11-091-29/+35
* PyFunction_Call() did not check the result of PyObject_Repr() for NULL, andFred Drake2001-11-011-2/+2
* PyObject_CallFunctionObArgs() ---> PyObject_CallFunctionObjArgs()Fred Drake2001-10-281-5/+5
* PyObject_CallFunction(), PyObject_CallMethod(): Make sure we do not touchFred Drake2001-10-271-18/+11
* Added two new functions to conveniently call functions/methods from C.Fred Drake2001-10-261-0/+76
* Generalize dictionary() to accept a sequence of 2-sequences. At theTim Peters2001-10-261-1/+1
* Make the error message for unsupported operand types cleaner, inGuido van Rossum2001-10-221-7/+27
* Fix error checking done by abstract_issubclass and abstract_isinstance.Neil Schemenauer2001-10-181-44/+61
* Implement isinstance(x, (A, B, ...)). Note that we only allow tuples,Guido van Rossum2001-10-071-1/+16
* binary_op1(), ternary_op(): rearrange the code so that slotw is testedGuido van Rossum2001-10-011-14/+14
* SF bug [#466173] unpack TypeError unclearTim Peters2001-09-301-1/+1
* The changes to ternary_op could cause a core dump. Fix this, andGuido van Rossum2001-09-291-55/+44
* It's a fact: for binary operators, *under certain circumstances*,Guido van Rossum2001-09-281-28/+48