-
**Bug Report**
Modules have a `__cached__` attribute which points at the pyc location. mypy does not understand this attribute
Here's an example bit of code:
```python
import copyreg
print…
-
The following error message is triggered when by adding `-> Dict[Text, Any]` to the type signature:
```
/tmp/pod.py:7: error: Need type annotation for 'result'
```
This is the contents of `/tm…
-
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.
I…
-
Hi. This is more of a question than an issue, but is it possible to use these stubs if coding locally in Visual Studio Code? And if so, do you have any pointers as to how that would work?
Thanks! M…
-
Hello,
I've noticed that when using pylance in the browser via [vscode.dev](https://vscode.dev/), docstrings are not included on hover (only type information) -- at least for some of the built-ins…
-
# Bug report
### Bug description:
```python
from mimetypes import MimeTypes
m = MimeTypes()
m.add_type # type checking error
```
The `add_type` method is not defined on the class interface, and al…
-
### Subject
When experimenting in #3030 I did find myself surprised to receive headers as bytes in putheader() while the typing said otherwise.
The project, in the v2.0.x currently accepts heade…
-
Some ways to call certain functions are just wrong, and are known to be a bug. For example, [passing type=bool to argparse's add_argument method doesn't work](https://stackoverflow.com/q/15008758). To…
-
### Required prerequisites
- [X] I have read the documentation .
- [X] I have searched the [Issue Tracker](https://github.com/metaopt/optree/issues) that this hasn't already been reported. (comment t…
-
The constructors for the `*Server` classes in socketserver.pyi should accept as the value for the `server_address` parameter a 4-tuple specifying an IPv6 socket.
The typing is currently `tuple[str,…