[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.25,1.337.2.4.2.26

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 04 Jun 2002 14:19:57 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv27530/Misc

Modified Files:
      Tag: release22-maint
	NEWS 
Log Message:
Backport to 2.2.x:

Address SF bug 519621: slots weren't traversed by GC.

While I was at it, I added a tp_clear handler and changed the
tp_dealloc handler to use the clear_slots helper for the tp_clear
handler.

Also set mp->flags = READONLY for the __weakref__ pseudo-slot.

[Note that I am *not* backporting the part of that patch that
tightened the __slot__ rules.]



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.25
retrieving revision 1.337.2.4.2.26
diff -C2 -d -r1.337.2.4.2.25 -r1.337.2.4.2.26
*** NEWS	22 Apr 2002 11:57:05 -0000	1.337.2.4.2.25
--- NEWS	4 Jun 2002 21:19:55 -0000	1.337.2.4.2.26
***************
*** 5,8 ****
--- 5,11 ----
  Core and builtins
  
+ - Classes using __slots__ are now properly garbage collected.
+   [SF bug 519621]
+ 
  - Repaired a slow memory leak possible only in programs creating a
    great many cyclic structures involving frames.  Reported on