You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ParamSpec can now be used in most situations, but I'm not immediately sure how the cachetools stub can be improved with ParamSpec. (PRs to improve our cachetools stubs are of course welcome!)
The linked pylance issue seems to be to do with functools.lru_cache, not our third-party cachetools stubs.
ParamSpec can now be used in most situations, but I'm not immediately sure how the cachetools stub can be improved with ParamSpec. (PRs to improve our cachetools stubs are of course welcome!)
The linked pylance issue seems to be to do with functools.lru_cache, not our third-party cachetools stubs.
Closing as per my comments above, but feel free to open a new issue (or, better yet, a PR) if there are indeed still issues with our cachetools stubs :)
Issues around functools.lru_cache are being discussed in depth at #6347 and #7771 already.
In https://github.com/python/typeshed/blob/master/third_party/2and3/cachetools/decorators.pyi,
ParamSpec
needs to be added to theCallable
andContextManager
paramsThe text was updated successfully, but these errors were encountered: