[Python-ideas] Add an option that allow check Type Hints in runtime
mertz at gnosis.cx
Fri Jul 8 02:42:57 EDT 2016
This exists already. All the annotations love on the '__annotations__'
attribute is a function or method. Check that at runtime however you like!
On Jul 7, 2016 11:39 PM, "Ma Lin" <animalize81 at hotmail.com> wrote:
> Hi, all,
> Is it possible to add an option that allow check Type Hints in
> So that I can enable dynamic type checking when debugging. And
> disable it in final deploy, no performance lose.
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas