[Python-checkins] CVS: python/dist/src/Misc NEWS,1.81.2.14,1.81.2.15

Moshe Zadka moshez@users.sourceforge.net
2001年3月30日 13:01:11 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv8873/Misc
Modified Files:
 Tag: release20-maint
	NEWS 
Log Message:
- exceptions.c - make_class() Added a "goto finally" so that if
 populate_methods() fails, the return status will be -1 (failure)
 instead of 0 (success).
 fini_exceptions(): When decref'ing the static pointers to the
 exception classes, clear out their dictionaries too. This breaks a
 cycle from class->dict->method->class and allows the classes with
 unbound methods to be reclaimed. This plugs a large memory leak in a
 common Py_Initialize()/dosomething/Py_Finalize() loop.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.81.2.14
retrieving revision 1.81.2.15
diff -C2 -r1.81.2.14 -r1.81.2.15
*** NEWS	2001年03月30日 20:26:32	1.81.2.14
--- NEWS	2001年03月30日 21:01:09	1.81.2.15
***************
*** 53,56 ****
--- 53,68 ----
 - del func.func_defaults raises a TypeError instead of dumping core
 
+ - #121013 - stringobject.c -- "".join(u"this is a test") dumped core
+ 
+ - exceptions.c - make_class() Added a "goto finally" so that if
+ populate_methods() fails, the return status will be -1 (failure)
+ instead of 0 (success).
+ 
+ fini_exceptions(): When decref'ing the static pointers to the
+ exception classes, clear out their dictionaries too. This breaks a
+ cycle from class->dict->method->class and allows the classes with
+ unbound methods to be reclaimed. This plugs a large memory leak in a
+ common Py_Initialize()/dosomething/Py_Finalize() loop.
+ 
 What's New in Python 2.0?
 =========================

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