This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rgov
Recipients docs@python, rgov
Date 2020-12-02.15:18:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606922339.94.0.698325525788.issue42542@roundup.psfhosted.org>
In-reply-to
Content
The documentation for weakref.proxy() does not describe how the proxy object behaves when the object it references is gone.

The apparent behavior is that it raises a ReferenceError when an attribute of the proxy object is accessed.

It would probably be a good idea to describe what the proxy object does in general, for those who are unfamiliar with the concept: attribute accesses on the proxy object are forwarded to the referenced object, if it exists.
History
Date User Action Args
2020-12-02 15:18:59rgovsetrecipients: + rgov, docs@python
2020-12-02 15:18:59rgovsetmessageid: <1606922339.94.0.698325525788.issue42542@roundup.psfhosted.org>
2020-12-02 15:18:59rgovlinkissue42542 messages
2020-12-02 15:18:59rgovcreate