Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve discussion about how __getattr__ is invoked. #31435

Merged
merged 39 commits into from Feb 20, 2022

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Feb 20, 2022

It isn't just calls to object.__getattribute__ that bypass the getattr hook. Any __getattribute__ call including super will suffice.

rhettinger and others added 30 commits Mar 16, 2021
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
.
Merge branch 'master' of github.com:python/cpython
Merge branch 'main' of github.com:python/cpython into main
Merge branch 'main' of github.com:python/cpython
@rhettinger rhettinger merged commit 12a2e41 into python:main Feb 20, 2022
12 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 20, 2022

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒🤖

miss-islington added a commit to miss-islington/cpython that referenced this issue Feb 20, 2022
(cherry picked from commit 12a2e41)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Feb 20, 2022

GH-31437 is a backport of this pull request to the 3.10 branch.

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 20, 2022

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒🤖

miss-islington added a commit to miss-islington/cpython that referenced this issue Feb 20, 2022
(cherry picked from commit 12a2e41)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Feb 20, 2022

GH-31438 is a backport of this pull request to the 3.9 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants