[Python-checkins] CVS: python/nondist/peps pep-0205.txt,1.8,1.9

Fred L. Drake fdrake@users.sourceforge.net
Mon, 22 Jan 2001 12:24:58 -0800


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv6434

Modified Files:
	pep-0205.txt 
Log Message:

Remove the .clear() method; add a link to the patch on SF.


Index: pep-0205.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0205.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** pep-0205.txt	2001/01/10 05:36:31	1.8
--- pep-0205.txt	2001/01/22 20:24:56	1.9
***************
*** 6,10 ****
  Status: Incomplete
  Type: Standards Track
! Post-History: 
  
  Motivation
--- 6,10 ----
  Status: Incomplete
  Type: Standards Track
! Post-History: 11 January 2001
  
  Motivation
***************
*** 82,93 ****
  
      A weak reference object will allow access to the referenced object
!     if it hasn't been collected, allows application code to either
!     "clear" the weak reference and the associated callback, and to
!     determine if the object still exists in memory.  These operations
!     are accessed via the .get(), .clear(), and .islive() methods.  If
!     the object has been collected, .get() will return None and
!     islive() will return false; calling .clear() will produce the same
!     result, and is allowed to occur repeatedly.  Weak references are
!     not hashable.
  
      A weak dictionary maps arbitrary keys to values, but does not own
--- 82,90 ----
  
      A weak reference object will allow access to the referenced object
!     if it hasn't been collected and to determine if the object still
!     exists in memory.  These operations are accessed via the .get()
!     and .islive() methods.  If the object has been collected, .get()
!     will return None and islive() will return false.  Weak references
!     are not hashable.
  
      A weak dictionary maps arbitrary keys to values, but does not own
***************
*** 142,145 ****
--- 139,146 ----
      dictionaries.  Whether it should include strings, buffers, lists,
      files, or sockets is debatable.
+ 
+     There is a preliminary patch on SourceForge:
+ 
+     http://sourceforge.net/patch/?func=detailpatch&patch_id=103203&group_id=5470