Message382319
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. |
|
Date |
User |
Action |
Args |
2020-12-02 15:18:59 | rgov | set | recipients:
+ rgov, docs@python |
2020-12-02 15:18:59 | rgov | set | messageid: <1606922339.94.0.698325525788.issue42542@roundup.psfhosted.org> |
2020-12-02 15:18:59 | rgov | link | issue42542 messages |
2020-12-02 15:18:59 | rgov | create | |
|