diff options
author | Guido van Rossum <guido@python.org> | 2002-04-08 01:38:42 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-08 01:38:42 +0000 |
commit | 68a3da2d51aca90f925fdb6e339fd526fd2c7edf (patch) | |
tree | a7feec7c0b64bcbecf2e8ea11677fef37d99bf70 /Python/pythonrun.c | |
parent | 4124c03b3f388a92121d3b69c1a77f3078694989 (diff) | |
download | cpython-68a3da2d51aca90f925fdb6e339fd526fd2c7edf.tar.gz |
- 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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions