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

Nick Coghlan ncoghlan at gmail.com
Fri Jul 8 09:23:51 EDT 2016

On 8 July 2016 at 20:34, Paul Moore <p.f.moore at gmail.com> wrote:
> On 8 July 2016 at 10:35, Chris Angelico <rosuav at gmail.com> wrote:
>>> Anyway, I just throw an idea to here. Greet to all of you for bring
>>> Python to me.
>> Keep on throwing ideas this way! Ideas are great. Well-thought-out
>> ideas make for interesting discussions, even if they don't get
>> implemented. Often the answer ends up being "here's a way to do this
>> with the current version", but it doesn't carry with it a tag of "and
>> you're an idiot for even suggesting it". We like ideas here -
>> otherwise we wouldn't subscribe to this list :)
> Agreed! I'd have never even thought of Chris' decorator approach
> before this discussion occurred, so thanks for raising the subject. I
> may never use it, but knowing how to do something like this is great.

The runtime eval loop switching being considered to enable Pyjion's
method JIT would also let folks opt in to running a dynamically
typechecked runtime (assuming someone decided to write one).


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list