cpython/Objects
Tim Peters 16a77adfbd Generalize operator.indexOf (PySequence_Index) to work with any
iterable object.  I'm not sure how that got overlooked before!

Got rid of the internal _PySequence_IterContains, introduced a new
internal _PySequence_IterSearch, and rewrote all the iteration-based
"count of", "index of", and "is the object in it or not?" routines to
just call the new function.  I suppose it's slower this way, but the
code duplication was getting depressing.
2001-09-08 04:00:12 +00:00
..
.cvsignore
abstract.c Generalize operator.indexOf (PySequence_Index) to work with any 2001-09-08 04:00:12 +00:00
bufferobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Generalize operator.indexOf (PySequence_Index) to work with any 2001-09-08 04:00:12 +00:00
cobject.c
complexobject.c Revert parts of patch #453627, documenting the resulting test failures 2001-09-06 08:16:17 +00:00
descrobject.c Rename 'getset' to 'property'. 2001-09-06 21:56:42 +00:00
dictobject.c Repair typo in comment. 2001-09-02 18:35:54 +00:00
fileobject.c Enable large file support on Win32 systems. 2001-09-06 00:32:15 +00:00
floatobject.c Better error msg for 3-arg pow with a float argument. 2001-09-05 23:49:24 +00:00
frameobject.c Squash new compiler wng in debug build. 2001-08-30 00:32:51 +00:00
funcobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
intobject.c Make the error msgs in our pow() implementations consistent. 2001-09-05 06:24:58 +00:00
iterobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
listobject.c Give the internal immutable list type .extend and .pop methods (they 2001-08-30 06:15:32 +00:00
longobject.c long_true_divide: reliably force underflow to 0 when the denominator 2001-09-06 21:59:14 +00:00
methodobject.c Removed some unreachable break statements to silence SGI compiler. 2001-08-30 13:58:58 +00:00
moduleobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
object.c At Guido's suggestion, here's a new C API function, PyObject_Dir(), like 2001-09-04 22:08:56 +00:00
obmalloc.c Identifiers matching _[A-Z_]\w* are reserved for C implementations. 2001-03-11 18:36:13 +00:00
rangeobject.c repr's converted to using PyString_FromFormat() instead of sprintf'ing 2001-08-24 18:34:26 +00:00
sliceobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
stringobject.c Fix a memory leak in str_subtype_new(). (All the other 2001-08-31 16:11:15 +00:00
tupleobject.c Rewrite the tuple() docstring to parallel the list() docstring. 2001-09-02 06:42:25 +00:00
typeobject.c Generalize operator.indexOf (PySequence_Index) to work with any 2001-09-08 04:00:12 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Make unicode subclassable. 2001-08-30 03:12:59 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
xxobject.c