-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Only emit lru-cache-decorating-method
when maxsize
is None
#6181
Conversation
Pull Request Test Coverage Report for Build 2094472459
💛 - Coveralls |
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.
Great ! 👍
Moved the rename into this PR/ |
Co-authored-by: Pierre Sassoulas <[email protected]>
@@ -80,6 +80,11 @@ Release date: TBA | |||
Closes #6069 | |||
Closes #6136 | |||
|
|||
* ``lru-cache-decorating-method`` has been renamed to ``cache-max-size-none`` and |
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.
maxsize
is spelled as one word in the argument. What about cache-maxsize-none
?
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.
If we keep it like max-size
we can potentially reuse later on for another function. But I'm fine with either!
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.
I don't feel strongly. Happy to keep this way.
#6181) Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: Pierre Sassoulas <[email protected]>
doc/whatsnew/<current release.rst>
.Type of Changes
Description
Closes #6180.