[Python-checkins] python/dist/src/Misc NEWS,1.731,1.732 SpecialBuilds.txt,1.14,1.15

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Thu, 17 Apr 2003 17:46:01 -0700


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

Modified Files:
	NEWS SpecialBuilds.txt 
Log Message:
_Py_PrintReferenceAddresses():  also print the type name.  In real use
I'm finding some pretty baffling output, like reprs consisting entirely
of three left parens.  At least this will let us know what type the object
is (it's not str -- there's no quote character in the repr).

New tool combinerefs.py, to combine the two output blocks produced via
PYTHONDUMPREFS.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.731
retrieving revision 1.732
diff -C2 -d -r1.731 -r1.732
*** NEWS	17 Apr 2003 21:31:33 -0000	1.731
--- NEWS	18 Apr 2003 00:45:58 -0000	1.732
***************
*** 163,166 ****
--- 163,169 ----
  -----------
  
+ - New script combinerefs.py helps analyze new PYTHONDUMPREFS output.
+   See the module docstring for details.
+ 
  TBD
  

Index: SpecialBuilds.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/SpecialBuilds.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** SpecialBuilds.txt	23 Mar 2003 02:51:01 -0000	1.14
--- SpecialBuilds.txt	18 Apr 2003 00:45:58 -0000	1.15
***************
*** 63,67 ****
  envar PYTHONDUMPREFS
      If this envar exists, Py_Finalize() arranges to print a list of
!     all still-live heap objects.
  ---------------------------------------------------------------------------
  PYMALLOC_DEBUG                                            introduced in 2.3
--- 63,76 ----
  envar PYTHONDUMPREFS
      If this envar exists, Py_Finalize() arranges to print a list of
!     all still-live heap objects.  This is printed twice, in different
!     formats, before and after Py_Finalize has cleaned up everything it
!     can clean up.  The first output block produces the repr() of each
!     object so is more informative; however, a lot of stuff destined to
!     die is still alive then.  The second output block is much harder
!     to work with (repr() can't be invoked anymore -- the interpreter
!     has been torn down too far), but doesn't list any objects that will
!     die.  The tool script combinerefs.py can be run over this to combine
!     the info from both output blocks.  The second output block, and
!     combinerefs.py, were new in Python 2.3b1.
  ---------------------------------------------------------------------------
  PYMALLOC_DEBUG                                            introduced in 2.3