-
**Bug Report**
It looks like mypy cannot detect some types like following type.
**To Reproduce**
Playground: https://mypy-play.net/?mypy=latest&python=3.12&gist=f83671bbbc02711ac90962…
-
having the pypi package download both node and the npm package when you first run the `pyright` command causes some issues:
- we have a docker image where all the dependencies are installed, but wh…
-
There probably should be a switch like
```
if sys.version_info >= (3, 12):
CSVQuoting: TypeAlias = Literal[0, 1, 2, 3, 4,5]
else:
CSVQuoting: TypeAlias = Literal[0, 1, 2, 3]
```
at
h…
-
Note: if you are reporting a wrong signature of a function or a class in
the standard library, then the typeshed tracker is better suited
for this report: https://github.com/python/typeshed/issues
…
-
The fix to #1154 seems to also have affected local variables. (Or, this issue is from #1233 and is only being observed now.)
![image](https://user-images.githubusercontent.com/5341706/61912599-7718…
-
Not too confident this will be easily fixed on the `typeshed` side -> https://github.com/python/typeshed/issues/2521
-
#### Software versions
Python 3.9.7
pytype 2021.11.18
#### Testcases
repr1.py:
```python
import mmap
x = mmap.mmap(-1, 4096)
y = memoryview(x)
```
repr2.py:
```python
import array
x =…
-
Please generate with pyi files for python for builtin types.
Currently we have a lot of errors using those types with pylint and need to ignore checking:
```
'google.protobuf.timestamp_pb2' has n…
-
Currently, the ["Version and platform checking" section](https://typing.readthedocs.io/en/latest/spec/directives.html#version-and-platform-checking) of the typing spec is very barebones. It basically …
-
Whilst working on https://github.com/python/typeshed/pull/11696, I was having issues referencing the source code. After reading the doc and a bit of investigation, I realized why:
The runtime of ht…