-
This bug was originally surfaced by https://github.com/python/typeshed/pull/6612. It is hard to tell if it is the only bug that was revealed by that PR, or if there are other PEP 604-related bugs in m…
-
Hey, it seems that pyright cannot resolve path to libraries in pre-commit hook.
```
/home/deck/.cache/pyright-python/1.1.378/node_modules/pyright/dist/typeshed-fallback/stdlib/_typeshed/__init__…
-
**Bug Report**
When using if-statements, the type is being properly narrowed depending on the conditions checked. mypy seems unable to do the same type of narrowing in a match statement
**…
-
Hi, reading your code I saw that you have the `lock` defined as `AbstractContextManager `
```python
def cached(
cache: Optional[MutableMapping[_KT, Any]],
# ignoring the mypy error to be…
-
https://github.com/python/typeshed/blob/6d20ea636ca7b66cec62f490ec9e42b63886c811/stdlib/tkinter/filedialog.pyi#L81-L90
The defaults are set to `...`, because the code is dynamic (as is usual with t…
Akuli updated
4 months ago
-
When running the first / easiest [example](https://joblib.readthedocs.io/en/latest/parallel.html#:~:text=%3E%3E%3E%20from%20math%20import%20sqrt%0A%3E%3E%3E%20from%20joblib%20import%20Parallel%2C%20de…
-
This issue is to merge the existing type hints available in typeshed ([here](https://github.com/python/typeshed/tree/master/stubs/requests)) into this repository.
Currently, psf/requests supports o…
-
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/7ed91…
-
While there are a lot of modules in this package, since the common interface is very simple from a type system perspective I think it would introduce little to no additional maintenance burden to incl…
-
After #6905, we can modernize our type annotations in various ways by doing the following:
- Use `from __future__ import annotations` ([PEP 563](https://peps.python.org/pep-0563/), [mypy docs](http…