[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.29,1.337.2.4.2.30

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 08 Jul 2002 15:30:54 -0700


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

Modified Files:
      Tag: release22-maint
	NEWS 
Log Message:
SF bug 578752: COUNT_ALLOCS vs heap types
Repair segfaults and infinite loops in COUNT_ALLOCS builds in the
presence of new-style (heap-allocated) classes/types.

Note:  test_gc fails in a COUNT_ALLOCS build now, because it expects
a new-style class to get garbage collected.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.29
retrieving revision 1.337.2.4.2.30
diff -C2 -d -r1.337.2.4.2.29 -r1.337.2.4.2.30
*** NEWS	8 Jul 2002 19:35:54 -0000	1.337.2.4.2.29
--- NEWS	8 Jul 2002 22:30:52 -0000	1.337.2.4.2.30
***************
*** 46,52 ****
    [SF patch 560794].
  
  
! C API
  
  
  Windows
--- 46,60 ----
    [SF patch 560794].
  
+ Build
  
! - A bug was fixed that could cause COUNT_ALLOCS builds to segfault, or
!   get into infinite loops, when a new-style class got garbage-collected.
!   Unfortunately, to avoid this, the way COUNT_ALLOCS works requires
!   that new-style classes be immortal in COUNT_ALLOCS builds.  Note that
!   COUNT_ALLOCS is not enabled by default, in either release or debug
!   builds, and that new-style classes are immortal only in COUNT_ALLOCS
!   builds.  SourceForge bug 578752.
  
+ C API
  
  Windows