<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 11, 2017 at 10:16 AM, Ryan Gonzalez <span dir="ltr"><<a href="mailto:rymg19@gmail.com" target="_blank">rymg19@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One thing I want to point out: there are a lot of really useful Python<br>
libraries that have come to rely on annotations being objects, ranging<br>
from plac to fbuild to many others. I could understand something that<br>
delays the evaluation of annotations until they are accessed, but this<br>
seems really extreme.<br></blockquote><div> </div><div>This is a serious concern and we need to give it some thought. The current thinking is that those libraries can still get those objects by simply applying eval() to the annotations (or typing.get_type_hints()). And they may already have to support that in order to support PEP 484's forward references. Though perhaps there's a reason why such libraries currently don't need to handle forward refs?<br></div></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>