Skip to content

[cachetools] Add @type_check_only to stub-only private classes#15516

Merged
srittau merged 1 commit intopython:mainfrom
brianschubert:cachetools-typecheckonly
Mar 16, 2026
Merged

[cachetools] Add @type_check_only to stub-only private classes#15516
srittau merged 1 commit intopython:mainfrom
brianschubert:cachetools-typecheckonly

Conversation

@brianschubert
Copy link
Collaborator

New hits from python/mypy#19574, introduced in #14770

Also unify duplicated _CacheInfo definitions (the func submodule uses the definition from __init__.py at runtime)

Also unify duplicated `_CacheInfo` definitions
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit e71841f into python:main Mar 16, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants