cpython/Objects
Walter Dörwald d9a6ad3beb Enhance issubclass() and PyObject_IsSubclass() so that a tuple is
supported as the second argument. This has the same meaning as
for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
this patch does not search the tuple recursively for classes, i.e.
any entry in the tuple that is not a class, will result in a
TypeError.

This closes SF patch #649608.
2002-12-12 16:41:44 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Enhance issubclass() and PyObject_IsSubclass() so that a tuple is 2002-12-12 16:41:44 +00:00
boolobject.c Make more functions static 2002-08-06 22:12:52 +00:00
bufferobject.c Call me anal, but there was a particular phrase that was speading to 2002-08-19 19:26:42 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Enhance issubclass() and PyObject_IsSubclass() so that a tuple is 2002-12-12 16:41:44 +00:00
cobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
complexobject.c complex() was the only numeric constructor that created a new instance 2002-08-29 14:22:51 +00:00
descrobject.c SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
dictobject.c Constify char* API. Fixes #651363. 2.2 candidate. 2002-12-11 13:21:12 +00:00
enumobject.c Remove the next() method -- one is supplied automatically by 2002-07-16 21:02:42 +00:00
fileobject.c Patch #650834: Document 'U' in file mode, remove stale variables. 2002-12-11 13:06:53 +00:00
floatobject.c float_int(): Some systems raise an exception if a double is cast to 2002-11-21 22:26:37 +00:00
frameobject.c A slight change to SET_LINENO-less tracing. 2002-09-11 15:36:32 +00:00
funcobject.c Extend function() to support an optional closure argument. 2002-07-11 18:30:27 +00:00
intobject.c Change int() so that passing a string, unicode, float or long argument 2002-11-19 20:49:15 +00:00
iterobject.c Squash a few calls to the hideously expensive PyObject_CallObject(o,a) 2002-08-16 17:01:09 +00:00
listobject.c The final tweaks before closing 2002-12-05 21:32:32 +00:00
listsort.txt Fixed new typos, added a little info about ~sort versus "hint"s. 2002-08-10 07:04:01 +00:00
longobject.c Change int() so that passing a string, unicode, float or long argument 2002-11-19 20:49:15 +00:00
methodobject.c Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
moduleobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
object.c Remove _Py_ResetReferences. Fixes bug #529750 "Circular reference makes 2002-11-17 17:52:44 +00:00
obmalloc.c Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
rangeobject.c Update comments about the performance of xrange(). 2002-12-11 07:14:03 +00:00
sliceobject.c Handle really big steps in extended slices. 2002-11-06 15:17:32 +00:00
stringobject.c Patch #614055: Support OpenVMS. 2002-12-06 12:48:53 +00:00
structseq.c Add n_unnamed_fields into the type. 2002-10-16 19:10:03 +00:00
tupleobject.c Add checks for size overflow on list*n, list+list, tuple+tuple. 2002-10-11 21:05:56 +00:00
typeobject.c SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
unicodectype.c Make lower/upper/title work for non-BMP characters. 2002-10-18 16:40:36 +00:00
unicodeobject.c Add nb_remainder (i.e. __mod__) slot to unicode type. Fixes SF bug #615506. 2002-11-18 16:10:18 +00:00
unicodetype_db.h Add unidata_version. Bump generator version number. 2002-11-25 09:13:37 +00:00
weakrefobject.c Add support for the iterator protocol to weakref proxy objects. 2002-08-09 18:34:16 +00:00
xxobject.c staticforward bites the dust. 2002-07-17 16:30:39 +00:00