[Python-checkins] python/nondist/peps pep-0205.txt,1.13,1.14
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Mon, 21 Apr 2003 08:33:15 -0700
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv19751
Modified Files:
pep-0205.txt
Log Message:
Remove an XXX comment to reflect final decisions.
I really need to review this PEP carefully before it can be marked
finished; I suspect there's a bit of creep between reality and the
PEP.
Index: pep-0205.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0205.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** pep-0205.txt 14 Aug 2001 21:58:43 -0000 1.13
--- pep-0205.txt 21 Apr 2003 15:33:10 -0000 1.14
***************
*** 196,206 ****
small types.
! XXX -- Need to determine the exact list of standard types which
! should support weak references. This should include instances and
! dictionaries. Whether it should include strings, buffers, lists,
! files, or sockets is debatable.
!
! The implementation has already been added to the Python CVS
! repository.
--- 196,206 ----
small types.
! Standard types which support weak references include instances,
! functions, and bound & unbound methods. With the addition of
! class types ("new-style classes") in Python 2.2, types grew
! support for weak references. Instances of class types are weakly
! referencable if they have a base type which is weakly referencable,
! the class not specify __slots__, or a slot is named __weakref__.
! Generators also support weak references.