FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Revert "gh-102213: Optimize the performance of `__getattr__` (GH-102248)" by sobolevn · Pull Request #103332 · python/cpython · GitHub

/ cpython Public

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

Merged
Fidget-Spinner merged 1 commit into
python:mainfrom
sobolevn:issue-103272
Apr 7, 2023
Merged

Revert "gh-102213: Optimize the performance of __getattr__ (GH-102248)"#103332
Fidget-Spinner merged 1 commit into
python:mainfrom
sobolevn:issue-103272

Conversation

sobolevn commented Apr 7, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

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 :)

Copy link
Copy Markdown
Member

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

sobolevn commented Apr 7, 2023

Copy link
Copy Markdown
Member Author

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL