summaryrefslogtreecommitdiff
path: root/Objects/abstract.c
AgeCommit message (Expand)AuthorLines
2002-03-11Probably should have merged the two checkins to this file (oh well).Michael W. Hudson-4/+6
2002-03-11backport jhylton's checkin ofMichael W. Hudson-4/+3
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
2001-10-27PyObject_CallFunction(), PyObject_CallMethod(): Make sure we do not touchFred Drake-18/+11
2001-10-26Added two new functions to conveniently call functions/methods from C.Fred Drake-0/+76
2001-10-26Generalize dictionary() to accept a sequence of 2-sequences. At theTim Peters-1/+1
2001-10-22Make the error message for unsupported operand types cleaner, inGuido van Rossum-7/+27
2001-10-18Fix error checking done by abstract_issubclass and abstract_isinstance.Neil Schemenauer-44/+61
2001-10-07Implement isinstance(x, (A, B, ...)). Note that we only allow tuples,Guido van Rossum-1/+16
2001-10-01binary_op1(), ternary_op(): rearrange the code so that slotw is testedGuido van Rossum-14/+14
2001-09-30SF bug [#466173] unpack TypeError unclearTim Peters-1/+1
2001-09-29The changes to ternary_op could cause a core dump. Fix this, andGuido van Rossum-55/+44
2001-09-28It's a fact: for binary operators, *under certain circumstances*,Guido van Rossum-28/+48
2001-09-14PyObject_CallObject(): this may as well call PyEval_CallObject()Guido van Rossum-16/+1
2001-09-10Fix tortured comment -- I must be on drugs today.Tim Peters-2/+2
2001-09-10More on SF bug [#460020] bug or feature: unicode() and subclasses.Tim Peters-1/+5
2001-09-10More for SF bug [#460020] bug or feature: unicode() and subclassesTim Peters-1/+5
2001-09-10SF bug #460020: bug or feature: unicode() and subclasses.Tim Peters-2/+9
2001-09-08Generalize operator.indexOf (PySequence_Index) to work with anyTim Peters-72/+62
2001-09-07PySequence_Check(), PyMapping_Check(): only return true if theGuido van Rossum-2/+4
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-0/+8
2001-08-08Implement PEP 238 in its (almost) full glory.Guido van Rossum-0/+30
2001-08-02Merge of descr-branch back into trunk.Tim Peters-1/+19
2001-05-28Cruft cleanup: Removed the unused last_is_sticky argument from the internalTim Peters-2/+2
2001-05-05Reimplement PySequence_Contains() and instance_contains(), so they workTim Peters-21/+20
2001-05-05Generalize PySequence_Count() (operator.countOf) to work with iterators.Tim Peters-13/+31
2001-05-05Make 'x in y' and 'x not in y' (PySequence_Contains) play nice w/ iterators.Tim Peters-28/+33
2001-05-05Fix a tiny and unlikely memory leak. Was there before too, and actuallyTim Peters-1/+3
2001-05-05Generalize tuple() to work nicely with iterators.Tim Peters-40/+47
2001-05-05Make PyIter_Next() a little smarter (wrt its knowledge of iteratorTim Peters-11/+16
2001-05-02Plug a memory leak in list(), when appending to the result list.Tim Peters-5/+9
2001-05-01Generalize list(seq) to work with iterators. This also generalizes list()Tim Peters-31/+57
2001-04-23Mondo changes to the iterator stuff, without changing how Python codeGuido van Rossum-3/+25
2001-04-20Iterators phase 1. This comprises:Guido van Rossum-0/+17
2001-03-21Move the code implementing isinstance() and issubclass() to new CGuido van Rossum-0/+112
2001-01-17Rich comparisons fall-out:Guido van Rossum-4/+4
2001-01-04Massive changes as per PEP 208. Read it for details.Neil Schemenauer-724/+314
2000-10-05Fix for SF bug #115987: PyInstance_HalfBinOp does not initialize theThomas Wouters-11/+11
2000-09-02Cosmetic cleanup by Vladimir.Thomas Wouters-43/+49
2000-09-01Rewritten some pieces of PyNumber_InPlaceAdd() for clarity.Guido van Rossum-15/+20
2000-09-01Fix grouping, again. This time properly :-) Sorry, guys.Thomas Wouters-3/+3
2000-09-01Add parens suggested by gcc -Wall.Guido van Rossum-2/+3
2000-08-31Fix grouping: this is how I intended it, misguided as I was in booleanThomas Wouters-2/+2
2000-08-31Removed compiler warning about wanting explicit grouping around &&Fred Drake-4/+6
2000-08-24Support for the in-place operations introduced by augmented assignment. OnlyThomas Wouters-0/+514
2000-08-23Addendum to previous change: now that 'f' is not unconditionallyThomas Wouters-11/+11