typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
https://github.com/python/mypy/issues/13689#issuecomment-1253995236
If I understand correctly, stubsabot has logic that _should_ mean that it auto-updates PRs (providing no manual changes have been made to the PR branch by maintainers). That part of...
This was previously discussed in #5618 and came up in #5765. I think the consensus is that we should allow this. This issue is mainly to track this.
Add missing `default` keyword argument to `dump` and `dumps` functions. Introduced since https://github.com/ultrajson/ultrajson/releases/tag/4.2.0 Relates to https://github.com/ultrajson/ultrajson/pull/470
`Tag.attrs` is type-hinted as `dict[str, str]` as expected. However, `Tag.__getitem__()` is type hinted as returning `str | list[str]`, and `Tag.get()` is type hinted as returning `str | list[str] | None`....
DO NOT merge this until https://github.com/python/mypy/issues/13220 is fixed. Reverts #8373 and #8399.
A few days ago, I had a great conversation with @kkirsche offline about some ways we can improve our communications with contributors. One of the things that came up is...
`asyncio.gather` return type from `tasks.pyi` seem to be different from the actual runtime type. **example.py** ```python import asyncio from typing import List async def five() -> int: return 5 async...
With https://github.com/carpedm20/emoji/pull/166 merged using the stubs previously contributed to typeshed, the ~~latest release now~~ next release should include type hints. Seems 2.1.0 was tagged directly before type hints being merged.
termcolor 2.0.0 (released 2022-09-11) supports types.