]> granicus.if.org Git - python/commit
- A type can now inherit its metatype from its base type. Previously,
authorGuido van Rossum <guido@python.org>
Mon, 8 Apr 2002 01:38:42 +0000 (01:38 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 8 Apr 2002 01:38:42 +0000 (01:38 +0000)
commit0986d8250f7ae4019c3e5b5c934dc0fd55f2b8de
tree162b8dd072e2073e3b77b149f532e7d93877008b
parentd1a3c8117d858c96feef7a1431448cbbcb08a8c3
- A type can now inherit its metatype from its base type.  Previously,
  when PyType_Ready() was called, if ob_type was found to be NULL, it
  was always set to &PyType_Type; now it is set to base->ob_type,
  where base is tp_base, defaulting to &PyObject_Type.

- PyType_Ready() accidentally did not inherit tp_is_gc; now it does.

Bugfix candidate.
Misc/NEWS
Objects/typeobject.c