[Python-ideas] Add an option that allow check Type Hints in runtime

Ma Lin animalize81 at hotmail.com
Fri Jul 8 05:17:56 EDT 2016


I see, Chris' decorator is amazing, I didn't think that way.

I mean add an runtime option, not a build option, it can be only enabled 
in development/debugging:
     python -tc a.py
Without the option, the interpreter just ignores Type Hints:
     python a.py

Anyway, I just throw an idea to here. Greet to all of you for bring 
Python to me.


More information about the Python-ideas mailing list