Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Cassandra is only carbon now
Cassandra is only carbon now
@xgranade@wandering.shop  ·  activity timestamp 2 hours ago

@emmatyping @whitequark @glyph @SnoopJ @ancoghlan @mcc More generally, though, that's a case where Callable fails to be covariant on its return type — if a program passes for a given return type, narrowing that return type should always pass as well.

All that is what tells me that mypy acts in practice more as a linter than as a type checker? Perhaps I'm misunderstanding, then?

  • Copy link
  • Flag this post
  • Block

bonfire.mavnn.eu

News and community around mavnn.eu projects.

bonfire.mavnn.eu: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1-alpha.27 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Public Groups
  • Code of Conduct