[Python-ideas] from future import function_annotations (original) (raw)

Tony Lownds tony at pagedna.com
Wed Apr 11 19:32:24 CEST 2007


On Apr 11, 2007, at 9:16 AM, Collin Winter wrote:

Speaking only to the part about 2to3, that sort of conversion would be a pain in the ass to write. Even if the @annotate decorator were keyword-args only (allowing positional args complicates the implementation more than you would expect), it would still probably be quicker/easier/more accurate just to port the 3.0 annotations implementation to 2.6.

Ok. +1 backporting the syntax from me, FWIW

-Tony



More information about the Python-ideas mailing list