[Python-checkins] python/dist/src/Misc SpecialBuilds.txt,1.4,1.5

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Wed, 10 Jul 2002 11:47:06 -0700


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

Modified Files:
	SpecialBuilds.txt 
Log Message:
Clarified sys.getobjects() pragmatics.


Index: SpecialBuilds.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/SpecialBuilds.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SpecialBuilds.txt	9 Jul 2002 19:27:20 -0000	1.4
--- SpecialBuilds.txt	10 Jul 2002 18:47:03 -0000	1.5
***************
*** 43,52 ****
  
  sys.getobjects(max[, type])
!     Return list of the most-recently allocated max objects, most recently
!     allocated first in the list, least-recently allocated last in the
!     list.  max=0 means no limit on list length.  If an optional type
!     object is passed, the list is also restricted to objects of that
!     type.  The return list itself, and some temp objects created just
!     to call sys.getobjects(), are excluded from the return list.
  
  envar PYTHONDUMPREFS
--- 43,57 ----
  
  sys.getobjects(max[, type])
!     Return list of the (no more than) max most-recently allocated objects,
!     most recently allocated first in the list, least-recently allocated
!     last in the list.  max=0 means no limit on list length.
!     If an optional type object is passed, the list is also restricted to
!     objects of that type.
!     The return list itself, and some temp objects created just to call
!     sys.getobjects(), are excluded from the return list.  Note that the
!     list returned is just another object, though, so may appear in the
!     return list the next time you call getobjects(); note that every
!     object in the list is kept alive too, simply by virtue of being in
!     the list.
  
  envar PYTHONDUMPREFS