[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.71,1.337.2.4.2.72

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2003年4月08日 13:33:38 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv21203/Misc
Modified Files:
 Tag: release22-maint
	NEWS 
Log Message:
Fixed the gc-vs-__del__ bugs for new-style classes. That's it for this one.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.71
retrieving revision 1.337.2.4.2.72
diff -C2 -d -r1.337.2.4.2.71 -r1.337.2.4.2.72
*** NEWS	31 Mar 2003 22:12:37 -0000	1.337.2.4.2.71
--- NEWS	8 Apr 2003 20:32:58 -0000	1.337.2.4.2.72
***************
*** 3,6 ****
--- 3,14 ----
 ============================
 
+ - Some horridly obscure problems were fixed involving interaction
+ between garbage collection and classes with "ambitious" getattr hooks.
+ If a class instance didn't have a __del__ method, but did have a
+ __getattr__ hook, and the instance became reachable only from an
+ unreachable cycle, and the hook resurrected or deleted unreachable
+ objects when asked to resolve "__del__", anything up to a segfault
+ could happen. That's been repaired.
+ 
 - Skip locale test on Mac OS X.
 

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