-
Apologies if i'm using the wrong words to describe what i'm trying to recommend/request.
**Feature**
At the moment, mypy recommends type narrowing using asserts. For example, if `something` is `…
-
-
Environment data
- Language Server version: 2022.10.20
- OS and version: darwin x64
- Python version (and distribution if applicable, e.g. Anaconda): 3.8.15
- python.analysis.index…
-
`isinstance(x, Type)` generates in an error, even though it should probably be considered equivalent to `isinstance(x, type)`. Example:
```py
from typing import Type
def f(x: Type[int]) -> None…
-
Iterating through a fixed `Tuple` of strings `("foo", "bar")` makes the loop variable a `str` instead of `Union[Literal["foo"], Literal["bar"]]`. This makes it difficult to loop through indices of a `…
-
### System Info
CUDA SETUP: Detected CUDA version 122
CUDA SETUP: Required library version not found: libbitsandbytes_cuda122_nocublaslt.so. Maybe you need to compile it from source?
Then bitsa…
-
**Bug Report**
`Callable` implicitly has a `__get__` method which makes it a bindable function
when used at class scope.
`Protocol`s with a `__call__` method, on the other hand, are *no…
glyph updated
8 months ago
-
Runs listed here: https://github.com/python/typeshed/actions/workflows/daily.yml
-
**Bug Report**
Mypy doesn't seem to identify all overloads of the `__init__` of an ABC class. Didn't test if the same happens for concrete classes, though.
**To Reproduce**
Please se …
-
Hi,
I'm using Pipenv and pyre 0.0.26 on OSX. I have two in-house libraries, A and B, both with type hints. B imports A and makes use of some of its classes like this:
```python
from A import Ap…