-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
raise error when passing a str(var) #4769
raise error when passing a str(var) #4769
Conversation
CodSpeed Performance ReportMerging #4769 will not alter performanceComparing Summary
|
T = TypeVar("T") | ||
|
||
|
||
def once(f: Callable[[], T]) -> Callable[[], T]: |
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 we use the new global var cache for this so we have some control over evicting the values?
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.
we could, but i think we should keep this one away from global var cache until we improve that one (also unsure if we want to mix var with not vars)
Co-authored-by: Thomas Brandého <[email protected]>
Co-authored-by: Thomas Brandého <[email protected]>
No description provided.