Stanislav Terliakov
Stanislav Terliakov
Given that `"5."` should parse as an `f64`, you'll likely be able to type floating numbers just fine. If you have a reference float wrapper code, we can check that...
More issues might be closed by this PR: https://github.com/sterliakov/mypy-issues/issues/70 I didn't look deeper, but all four look related enough
This should be resolved after #776 (not released yet) - please try the master branch version to confirm.
And duplicates #794.
I'm not sure whether this is a bug or intended behavior. Let's look at the decorator: ```python @deco() def fn() -> None: ... # is the same as deco_callable =...
> perspective of the [typing spec](https://typing.python.org/en/latest/spec/aliases.html) Do I understand correctly that the spec requires that either both versions pass or they are both rejected, only mandating consistency? I can't find...
Yes, I agree that aliases should be treated in the same way, this part is indeed a bug - snippets with and without alias should be equivalent. I learned only...
We failed to expand the alias somewhere - yes, it is a bug, aliases (at least non-recursive) and their expansions should be completely equivalent. But also we aren't required to...
Btw, #18877 answers my question about "something doable with Callable but not with Protocol". `Callable`s are assumed to undergo method binding, while `Protocol`s are not. Mypy and pyright agree on...
@hauntsaninja this is one more ticket resolved by #18465 - sorry again, I should have searched for them more thoroughly:(