[Python-ideas] PEP 484 (Type Hints) -- first draft round

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jan 21 06:09:12 CET 2015


Andrew Barnert wrote:
> But I think there's a hole in the premise. Python's key strength is good
> debug-ability and amazingly powerful introspection. (I mean Python's _two_
> key strengths are...) Information that has no runtime meaning to the
> interpreter may still have meaning to the user who's debugging code,

There's nothing wrong with making the annotations *available*
at run time. All I'm saying is that *evaluating* them at run
time hinders rather than helping for the intended use.

-- 
Greg


More information about the Python-ideas mailing list