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
bpo-39815: add cached_property to all #18726
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Just a minor comment, otherwise LGTM
Lib/functools.py
Outdated
@@ -12,7 +12,7 @@ | |||
__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES', | |||
'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce', | |||
'TopologicalSorter', 'CycleError', | |||
'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod'] | |||
'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod', "cached_property"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move this to the next line so the line remains no longer than ~80 chars?
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again |
Thanks for making the requested changes! @pablogsal: please review the changes made to this pull request. |
Thanks for the PR, @hakancelik96 ! |
Codecov Report
@@ Coverage Diff @@
## master #18726 +/- ##
===========================================
- Coverage 83.28% 82.13% -1.15%
===========================================
Files 1571 1955 +384
Lines 415244 584723 +169479
Branches 44484 44489 +5
===========================================
+ Hits 345821 480266 +134445
- Misses 59773 94808 +35035
+ Partials 9650 9649 -1
Continue to review full report at Codecov.
|
You are welcome. |
@hakancelik96: Status check is done, and it's a success ✅ . |
Thanks @hakancelik96 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry @hakancelik96, I had trouble checking out the |
bpo-39815: add cached_property to all (pythonGH-18726)
GH-18728 is a backport of this pull request to the 3.8 branch. |
Automerge-Triggered-By: @pablogsal. (cherry picked from commit 217dce9) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
Automerge-Triggered-By: @pablogsal. (cherry picked from commit 217dce9) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
This comment has been minimized.
This comment has been minimized.
|
I have noticed that `'` quotes are used everywhere except this particular case, which was introduced in python#18726 So, this is a simple fix to enforce better consistency.
I have noticed that `'` quotes are used everywhere except this particular case, which was introduced in #18726 So, this is a trivial fix to enforce better consistency.
https://bugs.python.org/issue39815
Automerge-Triggered-By: @pablogsal