cpython/Objects
Guido van Rossum 28d80b1058 PyClass_New(): put the extended Don Beaudry hook back in. When one of
the base classes is not a classic class, and its class (the metaclass)
is callable, call the metaclass to do the deed.

One effect of this is that, when mixing classic and new-style classes
amongst the bases of a class, it doesn't matter whether the first base
class is a classic class or not: you will always get the error
"TypeError: metatype conflict among bases".  (Formerly, with a classic
class first, you'd get "TypeError: PyClass_New: base must be a class".)

Another effect is that multiple inheritance from ExtensionClass.Base,
with a classic class as the first class, transfers control to the
ExtensionClass.Base class.  This is what we need for SF #443239 (and
also for running Zope under 2.2a4, before ExtensionClass is replaced).
2001-09-07 21:08:32 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c PySequence_Check(), PyMapping_Check(): only return true if the 2001-09-07 20:20:11 +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 PyClass_New(): put the extended Don Beaudry hook back in. When one of 2001-09-07 21:08:32 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
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 PyType_IsSubtype(): test tp_flags for HAVE_CLASS bit before accessing 2001-09-07 18:52:13 +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 REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00