Skip to content

Doc on weakref.proxy should mention ReferenceError #98348

Closed
@fancidev

Description

@fancidev

The documentation on weakref.proxy does not say what happens if an attribute of the proxy object is accessed when the referent is gone. I had to do a bit of googling to find out it raises ReferenceError.

Would be helpful to mention that in the doc of weakref.proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions