typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
Cf. #12848 and #12847. I suggest to amend our removal policy to say: > Third-party stubs are generally removed from typeshed when one of the following criteria is met: >...
# Bug report ### Bug description: the message and module fields in `warnings.filters` type-check as strings but can be of type `re.Pattern`: ```python import warnings from typing import TYPE_CHECKING warnings.filterwarnings("ignore",...
Transferred from https://github.com/mhammond/pywin32/issues/2411 by @KJH-x --- ## Expected behavior and actual behavior In vscode pylance lint (hover hint), the description of function `GetClipboardData` is: ```python (function) def GetClipboardData( _format: Unknown,...
Release: https://pypi.org/pypi/psutil/6.1.0 Homepage: https://github.com/giampaolo/psutil Repository: https://github.com/giampaolo/psutil Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/psutil If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another...
This PR makes it so that if you pass a Callable, while passing in args, but not kwargs, that type-checking is done on the arguments. Take this simple example, which...
Runs listed here: https://github.com/python/typeshed/actions/workflows/daily.yml
icalendar 6.0.1 had some API changes, so it's an ideal candidate to check whether this works.
Interested to see how much breakage primer reports. refs: python/typing#1480