typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
Good afternoon, I was working to implement some custom exception groups in an application that I work on and have had a really hard time getting the types for the...
Hey, Protobuf in version 5.26.0 changed the including_default_value_fields argument of MessageToJson and MessageToDict to always_print_fields_with_no_presence. I'm not sure if there are more changes with the version 5.26.0.
Inline types were added in https://github.com/eclipse/paho.mqtt.python/commit/70cc273f173f08e2cd8b6702e1ae6ed30cfbe075.
In #10721, the seaborn stubs depend on matplotlib that only included a `py.typed` marker file in version 3.8. matplotlib version 3.8 requires python `>=3.9` which leads to the mypy tests...
Dummy issue for now to have a target for a comment in #11575.
---- ~~Deferred: As of redis-py 5.0.3 the upstream annotations are lacking. We should not remove these stubs, until the upstream annotations reach parity with the stubs.~~
When getting the data out of a `urllib.request.Request` object, `mypy` is erroring saying that `decode` is not supported even tho it is a `bytes` object (and does not error when...
Consider these two similar python programs, which have identical behavior: ``` #! /usr/bin/env/python import configparser import re import sys if __name__ == "__main__": for filename in sys.argv[1:]: cparser = configparser.ConfigParser(interpolation=None)...