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

Revert "gh-102213: Optimize the performance of __getattr__ (GH-102248)" #103332

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Apr 7, 2023

This commit caused at least two regressions:

  1. Maximum recursion depth exceeded in __getattr__(). #103272
  2. 3.12.0a7 changes behavior of PropertyMock #103329

CC @wangxiang-hz @Fidget-Spinner @sunmy2019

@sunmy2019 can you please send your test case as the next PR?
I want to keep this one a pure revert, with no extra changes :)

@sunmy2019
Copy link
Member

Sure, but do you know which file should I add this to?

@sobolevn
Copy link
Member Author

sobolevn commented Apr 7, 2023

I think that this one is the best place: https://github.com/python/cpython/blob/main/Lib/test/test_descr.py

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

Successfully merging this pull request may close these issues.

4 participants