summaryrefslogtreecommitdiff
path: root/Objects/abstract.c
AgeCommit message (Expand)AuthorLines
2006-10-04A review of overflow-detecting code in the 2.4 branch.Armin Rigo-4/+4
2006-06-21Backport of r47061.Armin Rigo-5/+1
2006-06-09Fix bug introduced in rev. 46807 where variable was not declared at top of bl...Brett Cannon-1/+2
2006-06-09Backport of fix of bug #532646 for new-style classes.Brett Cannon-0/+3
2006-02-20Backported from r41842.Armin Rigo-6/+45
2005-08-21SF bug #1242657: list(obj) can swallow KeyboardInterruptRaymond Hettinger-0/+5
2004-12-17Backport fixes for bugs #1086555 and #1085744.Raymond Hettinger-4/+9
2004-09-19SF bug #1030557: PyMapping_Check crashes when argument is NULLRaymond Hettinger-2/+2
2004-07-19Check the type of values returned by __int__, __float__, __long__,Neil Schemenauer-6/+33
2004-05-12SF bug #952866: "can't multiply sequence *by* non-int"Raymond Hettinger-1/+1
2004-04-05Improve previous checkin to use a slot check instead of equivalentRaymond Hettinger-1/+2
2004-04-04Improve accuracy of sequence and mapping checks.Raymond Hettinger-2/+8
2004-03-21recursive_isinstance(), recursive_issubclass(): New code here returnedTim Peters-2/+2
2004-03-20Limit the nesting depth of a tuple passed as the second argument toBrett Cannon-9/+36
2004-03-17Add missing decrefRaymond Hettinger-0/+1
2004-03-11Eliminate a big block of duplicate code in PySequence_List() byRaymond Hettinger-54/+6
2004-01-11SF Patch #871704: Py_SequenceFast can mask errorsRaymond Hettinger-3/+11
2004-01-04Apply pre-sizing optimization to a broader class of objects.Raymond Hettinger-8/+4
2004-01-04Apply tuple/list pre-sizing optimization to a broader class of objects.Raymond Hettinger-1/+1
2003-10-27Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItemRaymond Hettinger-1/+1
2003-03-01Removed duplicate test from inner loop.Raymond Hettinger-6/+1
2003-02-18Make PyNumber_Check() a bit more careful, since all sorts of thingsGuido van Rossum-1/+3
2003-02-12Add missing cast in previous fix.Guido van Rossum-1/+2
2003-02-12SF #532767: isinstance(x, X) should work when x is a proxy for an XGuido van Rossum-6/+19
2003-02-10Fold long lines.Guido van Rossum-4/+7
2002-12-31Merge to trunk from release branch:Guido van Rossum-0/+1
2002-12-30Always try nb_* slots before trying sq_concat, sq_inplace_concat, sq_repeat,Neil Schemenauer-50/+128
2002-12-12Change issubclass() so that recursive tuples (directly or indirectlyWalter Dörwald-4/+4
2002-12-12Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald-28/+42
2002-12-07Fix typo in abstract.c which caused __rpow__ to not be invoked.Raymond Hettinger-1/+1
2002-11-24Simplify use of NB_BINOP and NB_TERNOP by making them do the pointerNeil Schemenauer-15/+15
2002-11-24Remove special handling of str and unicode in PyNumber_InPlaceRemainder. TheyNeil Schemenauer-9/+2
2002-11-18str and unicode objects now have a __mod__ slot so don't special case them inNeil Schemenauer-6/+0
2002-11-05Use PyList_CheckExact and PyTuple_CheckExact for checking whetherMichael W. Hudson-1/+1
2002-08-16Squash a few calls to the hideously expensive PyObject_CallObject(o,a)Guido van Rossum-2/+2
2002-07-28Patch #554716: Use __va_copy where available.Martin v. Löwis-0/+4
2002-06-06Close SF bug 563740. complex() now finds __complex__() in new style classes.Raymond Hettinger-2/+2
2002-06-05Better isinstance error message.Thomas Heller-1/+2
2002-04-23abstract_get_bases(): Clarify exactly what the return values andBarry Warsaw-9/+46
2002-04-16SF bug 544647.Guido van Rossum-2/+6
2002-04-16Whitespace normalization and fold some long lines.Guido van Rossum-20/+19
2002-03-08Fix leak of NotImplemented in previous checkin to PyNumber_Add().Jeremy Hylton-4/+6
2002-03-08Fix for SF bug 516727: MyInt(2) + "3" -> NotImplementedJeremy Hylton-4/+3
2002-03-02Revert the last odd change to PyNumber_Long: the problem it was tryingTim Peters-10/+2
2002-03-01SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjectsGuido van Rossum-2/+10
2002-01-05Implement PyObject_DelItemString. Fixes #498915.Martin v. Löwis-0/+18
2001-11-24PyObject_GetItem(), PyObject_SetItem(), PyObject_DelItem(): Fix a fewGuido van Rossum-5/+10
2001-11-09Add PyObject_CheckReadBuffer(), which returns true if its argumentJeremy Hylton-29/+35
2001-11-01PyFunction_Call() did not check the result of PyObject_Repr() for NULL, andFred Drake-2/+2
2001-10-28PyObject_CallFunctionObArgs() ---> PyObject_CallFunctionObjArgs()Fred Drake-5/+5