Skip to content

Outdated PyObject_HasAttr documentation (Exception behavior) #125887

Closed
@sklam

Description

@sklam

Documentation

In Python 3.13, PyObject_HasAttr doc says:

Exceptions that occur when this calls __getattr__() and __getattribute__() methods are silently ignored.

But its exception behavior after #106674 is to report all exceptions other than AttributeError.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions