[Python-checkins] python/dist/src/Misc NEWS,1.437,1.438

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 08 Jul 2002 15:12:03 -0700


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

Modified Files:
	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.

Bugfix candidate.  I'll backport this to 2.2.  It's irrelevant in 2.1.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.437
retrieving revision 1.438
diff -C2 -d -r1.437 -r1.438
*** NEWS	7 Jul 2002 03:59:33 -0000	1.437
--- NEWS	8 Jul 2002 22:11:50 -0000	1.438
***************
*** 295,298 ****
--- 295,306 ----
  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.
+ 
  - Compiling out the cyclic garbage collector is no longer an option.
    The old symbol WITH_CYCLE_GC is now ignored, and Python.h arranges