typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Collection of library stubs for Python, with static types

Results 615 typeshed issues
Sort by recently updated
recently updated
newest added

Mainly doing this out of curiosity to see the primer hits. EDIT: Would close #8647.

![image](https://github.com/python/typeshed/assets/44340603/01fc69cf-aa24-4463-b92d-aa5fca7ecb3a) The signature of `Rational.__truediv__` is marked as the following: ![image](https://github.com/python/typeshed/assets/44340603/d5ed727a-72ed-4dbd-8cc5-a86769a331fc) First of, `_ComplexLike` sounds like it should be `numbers.Complex`. But second, the signature should be more refined : -...

stubs: incomplete

Openpyxl type-hinting Issue Worksheet's `row_dimensions` raises a Warning when I put an integer in it (for the index of the row to change the height of) although it works (height...

stubs: false positive

See e.g. the ElementTree unit tests: https://github.com/python/cpython/blob/3.12/Lib/test/test_xml_etree.py#L1195 I guess this is fairly obscure functionality. The documentation does describe the QName class, but it doesn't say much more than the bare...

You might be interested in this thread: https://mail.python.org/archives/list/[email protected]/thread/QKJWPZ6XULFWNRFZYNTXXDC26UVQPFNG/#QKJWPZ6XULFWNRFZYNTXXDC26UVQPFNG

project: policy

I'm not sure if this is an issue with the type annotation for `itemgetter` or `SupportsGetItem`. `SupportsGetItem` requires defining `__contains__`. https://github.com/python/typeshed/blob/7ed91bc2e77ec18d28307dc6086a778ecc9c7bb3/stdlib/_typeshed/__init__.pyi#L156 This is surprising to me since I'd expect this...

status: deferred

For some time now we've used pyright's stricter configuration to prevent code quality regressions. Unless a stubs package is mentioned in the config file, it's expected to have annotations for...

project: infrastructure

Thanks to typeshed-stats (#9386), I was able to make the following list of stubs majorly using `Any`, indicating that they've likely not been switched over to `Incomplete` yet. Ordered by...

stubs: improvement

Release: https://pypi.org/pypi/redis/5.0.0 Homepage: https://github.com/redis/redis-py Repository: https://github.com/redis/redis-py Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/redis Changelog: https://github.com/redis/redis-py/releases Diff: https://github.com/redis/redis-py/compare/v4.6.0...v5.0.0

status: DO NOT MERGE
bot: stubsabot