[Python-ideas] Delay evaluation of annotations

Paul Moore p.f.moore at gmail.com
Tue Sep 27 08:50:12 EDT 2016


On 27 September 2016 at 13:46, Neil Girdhar <mistersheik at gmail.com> wrote:
> Yes, I understand that, but I don't see how that would help at all with
> annotations.  Aren't annotations also evaluated at "compile time"?

Yes, but a string whose value is a class name is treated as being the
same annotation (i.e., meaning the same) as the class itself.
Paul


More information about the Python-ideas mailing list