typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
As of https://setuptools.pypa.io/en/latest/history.html#v71-1-0, `pkg_resources` is marked as `py.typed`. Being a separate package, I don't thinks this will require adding `partial_stub = true` to `stubs/setuptools/METADATA.toml` if `stubs/setuptools/pkg_resources` is simply removed entirely.
Add new methods on `tkinter.Misc` for 3.13.
As a note, there's no runtime error for using multiple generic params with `Counter` post 3.9, so I don't see us needing to update cPython implementation at all. Fixes: https://github.com/python/typeshed/issues/3438
Use the following script: https://gist.github.com/max-muoto/3bdfd495d4ee48dba99c16513e855983 to add `Final` to all module-level standard library constants. (Used [libcst](https://github.com/Instagram/LibCST) as opposed to the native ast module, since it was the easiest way to...
All props can be passed to `__init__` as pos-or-keyword: ```python >>> _csv.Dialect(1) >>> _csv.Dialect(dialect=1) >>> _csv.Dialect(delimiter='.') >>> _csv.Dialect(quotechar='.') >>> _csv.Dialect(quotechar=None) ``` Source: https://github.com/python/cpython/blame/e6264b44dc7221c713b14dfa0f5929b33d362829/Modules/_csv.c#L389
Currently usage of `typing.Final` to indicate constants is mixed throughout the standard library (e.g. some newer stubs will utilize it potentially, but it's left out in other places) Has there...
Release: https://pypi.org/pypi/jsonschema/4.23.0 Homepage: https://github.com/python-jsonschema/jsonschema Repository: https://github.com/python-jsonschema/jsonschema Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/jsonschema Changelog: https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst Diff: https://github.com/python-jsonschema/jsonschema/compare/v4.22.0...v4.23.0 Stubsabot analysis of the diff between the two releases: - 0 public Python files have been added....