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.
This commit is contained in:
parent
646ca1b6b1
commit
5d5490716b
14
pep-0205.txt
14
pep-0205.txt
|
@ -195,13 +195,13 @@ Implementation Strategy
|
||||||
participate, without taking a memory hit for numbers or other
|
participate, without taking a memory hit for numbers or other
|
||||||
small types.
|
small types.
|
||||||
|
|
||||||
XXX -- Need to determine the exact list of standard types which
|
Standard types which support weak references include instances,
|
||||||
should support weak references. This should include instances and
|
functions, and bound & unbound methods. With the addition of
|
||||||
dictionaries. Whether it should include strings, buffers, lists,
|
class types ("new-style classes") in Python 2.2, types grew
|
||||||
files, or sockets is debatable.
|
support for weak references. Instances of class types are weakly
|
||||||
|
referencable if they have a base type which is weakly referencable,
|
||||||
The implementation has already been added to the Python CVS
|
the class not specify __slots__, or a slot is named __weakref__.
|
||||||
repository.
|
Generators also support weak references.
|
||||||
|
|
||||||
|
|
||||||
Possible Applications
|
Possible Applications
|
||||||
|
|
Loading…
Reference in New Issue