[Python-ideas] from future import function_annotations (original) (raw)
Tony Lownds tony at pagedna.com
Wed Apr 11 19:32:24 CEST 2007
- Previous message: [Python-ideas] from __future__ import function_annotations
- Next message: [Python-ideas] Regular expression algorithms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-ideas] from __future__ import function_annotations
- Next message: [Python-ideas] Regular expression algorithms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]