Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 5, 2018

When __getattr__ is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from __getattribute__ or a descriptor's __get__
method (including property methods).
(cherry picked from commit d1f3181)

Co-authored-by: Cheryl Sabella [email protected]

https://bugs.python.org/issue8722

…ty (pythonGH-4754)

When `__getattr__` is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from `__getattribute__` or a descriptor's `__get__`
method (including property methods).
(cherry picked from commit d1f3181)

Co-authored-by: Cheryl Sabella <[email protected]>
@miss-islington
Copy link
Contributor Author

@csabella and @ncoghlan: Backport status check is done, and it's a success ✅ .

@ncoghlan ncoghlan merged commit a8c25d1 into python:3.6 Feb 5, 2018
@miss-islington
Copy link
Contributor Author

Thanks, @ncoghlan!

@miss-islington miss-islington deleted the backport-d1f3181-3.6 branch February 5, 2018 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants