-
Python 3.12 is in pre-release state. https://www.python.org/downloads/
Once you have resolved https://github.com/google/pytype/issues/1308 - please upgrade for python 3.12 as soon as possible.
D…
-
# Environment
python 3.10.8
windows 10
IDE: VScode - python - pyright/pylance - mode strict
# Context
A workbook has properties: https://openpyxl.readthedocs.io/en/stable/api/openpyxl.packaging…
-
Explicitly annotating class variables using `typing.ClassVar` creates greater type safety.
Furthermore, migrating to `types-docutils` will require this since the upstream types use explicit class var…
-
See python/typeshed#8960.
-
```toml
[tool.basedpyright]
pythonVersion = "3.8"
reportUnusedImport = false
[[tool.basedpyright.executionEnvironments]]
root = "foo"
pythonVersion = "3.9"
```
```py
# main.py
from typing …
-
There are at least two classes in typeshed's `builtins.pyi` (
`class function` and `class ellipsis`, that should not belong there.
The issues in typeshed are:
- https://github.com/python/typesh…
-
I'm currently setting up `pyre` to run in a github action - I've been facing issues with:
`Could not find a module corresponding to import sentry_sdk.`
Among other errors - I've edited the `.pyr…
-
mypy's "no `Any`" flags are pretty hard to use since so much stuff in typeshed uses `Any`
-
When using the `xml.dom.minidom` API, pytype 2022.02.17 fails. With 2022.2.8 this still worked.
Minimal example:
```python
import xml.dom.minidom
xml.dom.minidom.parseString("")
```
Output f…
-
Type information for third party libraries will start being distributed outside of typeshed per [PEP 561](https://www.python.org/dev/peps/pep-0561/); we should support this.