[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

type hinting backward compatibility with python 3.0 to 3.4

On Sun, 21 May 2017 12:14 am, Gregory Ewing wrote:

> Steve D'Aprano wrote:
>> You mean treat them as syntactically comments?
>> def function(arg:I can put ***ANYTHING*** I like here!!!):
> They could be parsed as expressions and stored as an AST.
> That would allow introspection, and you could evaluate them
> if you wanted

Ooh, that's a nice idea!

Emoji: a small, fuzzy, indistinct picture used to replace a clear and
perfectly comprehensible word.