typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
originally: #14756 # now broken (mypy) ```py _: list[int | str] = list[int]() + list[str]() ``` this break seems extremely minor (two cases in corpus) # now fixed (mypy) ```py...
Sometimes, after a PR is closed, maintainers might forget to remove the branch. I think this could be automated to keep the repository cleaner. At the moment there are 19...
Some libraries (usually deprecated or simply poorly maintained like [cysimdjson](https://github.com/python/typeshed/pull/13666)) don't have releases for the latest versions of Python. Maybe it's worth giving them the ability to have type stubs...
Issue: #14804
Release: https://pypi.org/pypi/pyperclip/1.11.0 Homepage: https://github.com/asweigart/pyperclip Repository: https://github.com/asweigart/pyperclip Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/pyperclip If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another...
* `faulthandler` - https://github.com/python/cpython/blob/main/Modules/faulthandler.c * `hashlib` - generic [constructor](https://docs.python.org/dev/library/hashlib.html#hashlib.new), but all other functions have `usedforsecurity=True` * `itertools.count` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L3388 * `itertools.accumulate` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L2981 * `itertools.islice` - https://github.com/python/cpython/blob/8cfd7b4ecf9c01ca2bea57fe640250f716cb6ee3/Modules/itertoolsmodule.c#L1510 * `itertools.zip_longest` -...
`typing.Callable` is not a `_SpecialForm`, it's an `_Alias`, and `collections.abc.Callable` is a class i is trying to address many issues with `Callable` that are either 100% special cased, or don't...
support: ```py _: list[object] = list[int]().copy() ```
Release: https://pypi.org/pypi/auth0-python/4.13.0 Homepage: https://auth0.com Repository: https://github.com/auth0/auth0-python Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/auth0-python Diff: https://github.com/auth0/auth0-python/compare/4.10.0...4.13.0 Stubsabot analysis of the diff between the two releases: - 1 public Python file has been added: `auth0/management/network_acls.py`. -...
When running stubsabot on the [`hugovk/top-pypi-packages`](https://github.com/hugovk/top-pypi-packages) list, I noticed some errors that may occur if we attempt to add their stubs to typeshed. It seems that some of these libraries...