1.15.0 regression: list.append
false positive with Signals
enum
#18628
Labels
list.append
false positive with Signals
enum
#18628
This code:
Produces:
Source: https://github.com/python/typeshed/blob/main/stdlib/signal.pyi
It is a regression of 1.15.0, before this code was correct: https://mypy-play.net/?mypy=1.14.1&python=3.12&gist=24f0696ba047856ad7d932f4a7f25ec4
I don't see a reason, why two enum membres cannot be appended to a single list.
The text was updated successfully, but these errors were encountered: