With mypy 0.930 (compared with 0.910), it now infers the type of self._changed = False as Literal[False] instead of bool. That doesn't bother me too much, but if I add a type annotation as self._changed: bool = False, it still marks the type as Literal[False] and we get type errors in the code about unreachable code.
Code available at: https://github.com/aio-libs/aiohttp-session/pull/651/files
With mypy 0.930 (compared with 0.910), it now infers the type of
self._changed = FalseasLiteral[False]instead ofbool. That doesn't bother me too much, but if I add a type annotation asself._changed: bool = False, it still marks the type asLiteral[False]and we get type errors in the code about unreachable code.Code available at: https://github.com/aio-libs/aiohttp-session/pull/651/files