Comment by setopt 13 hours ago > A type is a contract, not a hint!In Python it is a hint. 2 comments setopt Reply rurban 13 hours ago Exactly. That was their worst mistake ever setopt 7 hours ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream.
rurban 13 hours ago Exactly. That was their worst mistake ever setopt 7 hours ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream.
setopt 7 hours ago I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream.
Exactly. That was their worst mistake ever
I agree. I use Beartype to get runtime type checks, but it shouldn’t be necessary. Some support for type checking, whether at byte compile time or runtime, should land upstream.