Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PyObject.GetAttr(string, PyObject _default) masks any exceptions #1036

Copy link
Copy link
@lostmsu

Description

@lostmsu
Issue body actions

This method has bad semantics. Ideally, _default should only be returned when the object does not have an attribute with the specified name. In all other cases GetAttr should raise the PythonException explaining what went wrong instead of returning _default.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.