Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like beartype supports the same sort of implicit decoration, because there's mention of an explicit API:

>Beartype now implicitly type-checks all annotated classes, callables, and variable assignments across all submodules of all packages.



That definitely got implemented after I had already moved on.


Iirc beartype is several orders of magnitude faster than typeguard so you might want to give it a try again




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: