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

Guido van Rossum python-dev@python.org
Tue, 28 Nov 2000 05:43:03 -0800


Update of /cvsroot/python/python/nondist/peps
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3989

Modified Files:
	pep-0205.txt 
Log Message:
Slight grammar and spelling nits; updated mx.Proxy URL; added
reference to EST's pyweak.


Index: pep-0205.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0205.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** pep-0205.txt	2000/11/17 22:54:45	1.5
--- pep-0205.txt	2000/11/28 13:43:00	1.6
***************
*** 16,20 ****
      Caches (weak dictionaries)
  
!         There is a need to allow objects to be maintained to represent
          external state, mapping a single instance to the external
          reality, where allowing multiple instances to be mapped to the
--- 16,20 ----
      Caches (weak dictionaries)
  
!         There is a need to allow objects to be maintained that represent
          external state, mapping a single instance to the external
          reality, where allowing multiple instances to be mapped to the
***************
*** 39,43 ****
            every use.
  
!         - Objects which are expensive to create, but may be needed by
            multiple internal consumers.  Similar to the first case, but
            not necessarily bound to external resources, and possibly
--- 39,43 ----
            every use.
  
!         - Objects that are expensive to create, but may be needed by
            multiple internal consumers.  Similar to the first case, but
            not necessarily bound to external resources, and possibly
***************
*** 79,83 ****
      the stored objects are infrequent.
  
!     Java's "weak" references are most like Diane Hackborn's old vref
      proposal: a reference object refers to a single Python object,
      but does not own a reference to that object.  When that object is
--- 79,83 ----
      the stored objects are infrequent.
  
!     Java's "weak" references are most like Dianne Hackborn's old vref
      proposal: a reference object refers to a single Python object,
      but does not own a reference to that object.  When that object is
***************
*** 104,120 ****
  Previous Weak Reference Work in Python
  
!     Dianne Hackborn's proposed something called "virtual references".
!     'vref' objects were very similar to java.lang.ref.WeakReference
!     objects, except there was no equivalent to the invalidation
      queues.  Implementing a "weak dictionary" would be just as
      difficult as using only weak references (without the invalidation
!     queue) in Java.  Information on this has disappeared from the Web.
!     Original discussion occurred in the comp.lang.python newsgroup; a
!     good archive of that may turn up something more.
  
!     Marc-André Lemburg's mx.Proxy package.  These Web pages appear to
!     be unavailable at the moment.
  
!         http://starship.python.net/crew/lemburg/
  
      The weakdict module by Dieter Maurer is implemented in C and
--- 104,118 ----
  Previous Weak Reference Work in Python
  
!     Dianne Hackborn has proposed something called "virtual references".
!     'vref' objects are very similar to java.lang.ref.WeakReference
!     objects, except there is no equivalent to the invalidation
      queues.  Implementing a "weak dictionary" would be just as
      difficult as using only weak references (without the invalidation
!     queue) in Java.  Information on this has disappeared from the Web,
!     but is included below as an Appendix.
  
!     Marc-André Lemburg's mx.Proxy package:
  
!         http://www.lemburg.com/files/python/mxProxy.html
  
      The weakdict module by Dieter Maurer is implemented in C and
***************
*** 128,131 ****
--- 126,133 ----
  
          http://sourceforge.net/projects/pyweakreference/
+ 
+     Eric Tiedemann has a weak dictionary implementation:
+ 
+         http://www.hyperreal.org/~est/python/weak/