cpython/Python
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
atof.c
bltinmodule.c Enhance issubclass() and PyObject_IsSubclass() so that a tuple is 2002-12-12 16:41:44 +00:00
ceval.c Make private functions static so we don't pollute the namespace 2002-11-10 14:33:26 +00:00
codecs.c Properly compute array size even for --disable-unicode. 2002-11-21 23:53:25 +00:00
compile.c Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
dup2.c
dynload_aix.c
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Fix SF # 551504, python -v sometimes fails to find init (HPUX) 2002-11-02 20:58:05 +00:00
dynload_mac.c
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c Fix a couple of whitespace consistency nits. 2002-08-26 21:20:30 +00:00
errors.c Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
exceptions.c Patch #614055: Support OpenVMS. 2002-12-06 12:48:53 +00:00
fmod.c
frozen.c This is my patch 2002-08-15 14:59:02 +00:00
frozenmain.c
future.c Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
getargs.c Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that 2002-11-21 20:23:11 +00:00
getcompiler.c
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c Patch #614055: Support OpenVMS. 2002-12-06 12:48:53 +00:00
importdl.c Simplify, and avoid PyModule_GetDict() while we're at it. 2002-08-26 21:15:11 +00:00
importdl.h
mactoolboxglue.c Patch #632973: Implement _getdefaultlocale for OS X. 2002-11-26 09:05:36 +00:00
marshal.c
memmove.c
modsupport.c Py_InitModule4(): Accept NULL for the 'methods' argument. This makes 2002-08-14 20:57:56 +00:00
mysnprintf.c
mystrtoul.c
pyfpe.c
pystate.c Assorted patches from Armin Rigo: 2002-11-08 12:53:11 +00:00
pythonrun.c Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c
symtable.c
sysmodule.c Add os.path.supports_unicode_filenames for all platforms, 2002-10-08 02:44:31 +00:00
thread.c
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h reformat for PEP-7 style conformance 2002-12-04 12:29:37 +00:00
thread_pth.h
thread_pthread.h Patch #650415: Avoid redefinition of macros. 2002-12-11 13:12:30 +00:00
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c This is my patch 2002-08-15 14:59:02 +00:00