[Python-ideas] Annotations (and static typing)
Paul Moore
p.f.moore at gmail.com
Wed Aug 20 20:13:06 CEST 2014
On 20 August 2014 18:37, Andrea Censi <censi at mit.edu> wrote:
> What can one do with a decorator that cannot be done with annotations?
Python 2 compatibility.
Paul
PS This discussion is leading me to feel that annotations aren't
really that useful compared to a well-written decorator, so why *not*
leave them specifically for static type information, as Guido
suggested...
More information about the Python-ideas
mailing list