[Python-Dev] weak refs in descriptors (http://bugs.python.org/issue17950)
solipsis at pitrou.net
Mon May 13 19:36:45 CEST 2013
On Mon, 13 May 2013 13:21:17 -0400
Terry Jan Reedy <tjreedy at udel.edu> wrote:
> On 5/13/2013 9:20 AM, Maciej Fijalkowski wrote:
> > The strong reference there is a feature. Descriptors keep the class
> > alive if somehow the class disappears and the descriptor itself does
> Is this feature stated or implied in the reference manual?
> 188.8.131.52. Implementing Descriptors
> 184.108.40.206. Invoking Descriptors
> or is it an implementation detail that people have come to rely on?
Any reference that is not documentedly weak is strong by definition;
this is Python's basic semantics, there's no need to ask about
The only question is whether some people rely on this particular one.
More information about the Python-Dev