-
Requests itself already supports this via typeshed stubs: https://github.com/python/typeshed/tree/master/third_party/2and3/requests
-
For the following snippet:
```python
import google.protobuf.message
def print_fields(msg: google.protobuf.message.Message):
print(msg.DESCRIPTOR.fields)
```
pytype (tested 2023.5.24 and …
-
Environment data
- Language Server version: 2021.12.0
- OS and version: linux x64
- Python version (and distribution if applicable, e.g. Anaconda): Originally observed with CPython 3.…
-
# Request
I would be nice to have expanded type coverage.
## History
- Selenium added typings in 4.1.2 in 2022-02-24
- typeshed: removed selenium types around this time:
- https://github.…
tony updated
7 months ago
-
### Description
When an URL appears at the end of a sentence, it is often followed by a `.` without space. GitHub correctly highlights the URL w/o the `.` in the code view and makes the correct lin…
-
# Bug report
### Bug description:
This came up in python/typeshed#12414.
The current implementation of `file_digest()` does not check the return value of `fileobj.readinto()` for `None`:
https://g…
-
#### Software versions
Python 3.9.7
pytype 2021.11.24 (not present on 2021.11.18)
#### Reproducer
```python
import os
```
#### Description
Running `pytype --protocols repr.py` generates a …
-
Hi. In case you were interested in adding type hints in this repository, just letting you know - I recently added type hints for olefile to typeshed - https://github.com/python/typeshed/pull/11416. If…
-
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.
…
-
# Pyre Bug
**Bug description**
Does not work, returns exit_code = 1
**Reproduction steps**
Ubuntu 18.04.6 LTS, python 3.7, current dir = /home/oleg
```
mkdir testpyre
cd testpyre
python3.7…