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
Rename cache-max-size-none
and check functools.cache
#6182
Conversation
Pull Request Test Coverage Report for Build 2187900060
💛 - 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.
Needs a documentation with good.py and bad.py too :)
Haven't looked in detail yet, but why wouldn't this just be a case for the existing message for lru_cache(maxsize=None)? It seems a bit of a usability flaw to have to enable/disable both messages when they do/check the same thing. |
The other message has I'm fine with adding to the other message as well though |
Yeah. It's hard because we've already released it. I feel like it should be renamed to something like |
With |
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.
Also agree that we should rename and merge the two message.
@jacobtylerwalls Gentle ping 😄 |
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 ping! Following Pierre's earlier comment, I'm also surprised this doesn't emit on pure functions. Was there a discussion elsewhere that clarified the reasoning?
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
functools-cache-decorating-method
checkercache-max-size-none
and check functools.cache
…dev#6182) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
doc/whatsnew/<current release.rst>
.and preferred name in
script/.contributors_aliases.json
Type of Changes
Description
Closes #5670.