[Python-checkins] CVS: python/dist/src/Misc NEWS,1.337.2.4.2.17,1.337.2.4.2.18

Guido van Rossum gvanrossum@users.sourceforge.net
2002年4月07日 18:39:58 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv16741/Misc
Modified Files:
 Tag: release22-maint
	NEWS 
Log Message:
- 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.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.17
retrieving revision 1.337.2.4.2.18
diff -C2 -d -r1.337.2.4.2.17 -r1.337.2.4.2.18
*** NEWS	5 Apr 2002 22:53:16 -0000	1.337.2.4.2.17
--- NEWS	8 Apr 2002 01:39:56 -0000	1.337.2.4.2.18
***************
*** 21,24 ****
--- 21,29 ----
 C API
 
+ - 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.
 

AltStyle によって変換されたページ (->オリジナル) /