Login
You're viewing the techdon.dev public feed.
  • Nov 10, 2026, 3:19 AM

    ugh. my least favorite part of modern type-checked python is when the typechecker disagrees with reality.

    like I try to commit my code and the pre-commit hook runs the typechecker and yells at me:

    error[unresolved-attribute]: Object of type `Logger` has no attribute `debug`

    and I'm like... yes it does have that attribute. I have run the code, it has called logger.debug() many times, which it wouldn't be able to do if there was no debug().

    So you're wrong. But WHY are you wrong?

    💬 1🔄 1⭐ 33

Replies