-
This will affect quite a few classes and will possibly have a fairly significant primer impact, but we should at least work towards this goal.
-
## 🐛 Bug
When building from master, the error in the title appears.
## To Reproduce
Steps to reproduce the behavior:
1. checkout master
1. build
## Expected behavior
Build works
…
-
**Bug Report**
When using `namespace_packages = true`, if it happens that a directory with the same name as a module exists, `mypy` will not recognize names from the module.
**To Reprodu…
-
**Bug Report**
When matching on a union between a named tuple and something else, class/as pattern binds to a type different than the named tuple.
That is, the body of `case Foo() as f…
-
**Bug Report**
When displaying a type error about e.g. a variable that contains unicode characters, mypy crashes.
**To Reproduce**
1. Make a file `file.py` containing the line `x=γ`.
…
-
**Bug Report**
There are some scenarios where inheriting from `MutableSequence` and built-in `list` (in this exact order) is important. This is the case for [`atoml`](https://github.com/fro…
-
**Bug Report**
Let me introduce some shorthand notation for the sake of clarity. Let `V` be a virtual environment, `Vsp` the `site-packages` location within `V`, `P` a prefix path and `Psp`…
-
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…
-
In PyCharm you can set the programming/markup language of strings like this:
```py
# language=html
foo = 'hello there!'
```
I find this extremely useful and use it all over the place. A pattern…
boxed updated
7 months ago
-
I have code such as this:
```py
now_timestamp = datetime.utcnow()
```
The deprecation method reads:
```
The method "utcnow" in class "datetime" is deprecated
Use timezone-aware objects to rep…