Re:The Ergonomics of Type Checking (2016)
by tedmiston on Sunday October 29, 2017 @05:21PM
(#15581470)
I believe you're right that Mypy only offers compile time type checking, but not runtime.
It looks like there are some active projects for runtime type checking in Python and while I don't believe Mypy is related to any of them, enforce [1] looks to also use the same standard type hinting syntax from PEP 484.
It looks like there are some active projects for runtime type checking in Python and while I don't believe Mypy is related to any of them, enforce [1] looks to also use the same standard type hinting syntax from PEP 484.
[1]: https://github.com/RussBaz/enforce