mirror of https://github.com/python/cpython
7851eea5f2
backwards compatibility. When using the class of the first base as the metaclass, use its __class__ attribute in preference over its ob_type slot. This ensures that we can still use classic classes as metaclasse, as shown in the original "Metaclasses" essay. This also makes all the examples in Demo/metaclasses/ work again (maybe these should be turned into a test suite?). |
||
---|---|---|
.. | ||
.cvsignore | ||
atof.c | ||
bltinmodule.c | ||
ceval.c | ||
codecs.c | ||
compile.c | ||
dup2.c | ||
dynload_aix.c | ||
dynload_beos.c | ||
dynload_dl.c | ||
dynload_hpux.c | ||
dynload_mac.c | ||
dynload_next.c | ||
dynload_os2.c | ||
dynload_shlib.c | ||
dynload_stub.c | ||
dynload_win.c | ||
errors.c | ||
exceptions.c | ||
fmod.c | ||
frozen.c | ||
frozenmain.c | ||
future.c | ||
getargs.c | ||
getcompiler.c | ||
getcopyright.c | ||
getcwd.c | ||
getmtime.c | ||
getopt.c | ||
getplatform.c | ||
getversion.c | ||
graminit.c | ||
hypot.c | ||
import.c | ||
importdl.c | ||
importdl.h | ||
mactoolboxglue.c | ||
marshal.c | ||
memmove.c | ||
modsupport.c | ||
mysnprintf.c | ||
mystrtoul.c | ||
pyfpe.c | ||
pystate.c | ||
pythonrun.c | ||
sigcheck.c | ||
strdup.c | ||
strerror.c | ||
strtod.c | ||
structmember.c | ||
symtable.c | ||
sysmodule.c | ||
thread.c | ||
thread_beos.h | ||
thread_cthread.h | ||
thread_foobar.h | ||
thread_lwp.h | ||
thread_nt.h | ||
thread_os2.h | ||
thread_pth.h | ||
thread_pthread.h | ||
thread_sgi.h | ||
thread_solaris.h | ||
thread_wince.h | ||
traceback.c |