On Thu, Sep 22, 2016 at 1:19 PM, אלעזר <elaz...@gmail.com> wrote:
> I propose delaying evaluation of annotation-expressions by either keeping
> the AST of the annotation, or turning it implicitly from EXP into "lambda:
> EXP". Inspection code that is interested in this information can access it
> be calling (or evaluating) it.
> It certainly isn't a backward compatible change
It can be made almost backward compatible by making __annotations__ a
property that calls your "lambda: EXP"s at the time when it is requested.
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/