[issue26477] typing forward references and module attributes

Antti Haapala report at bugs.python.org
Thu Mar 3 13:30:50 EST 2016


Antti Haapala added the comment:

Indeed, the assumption is be that if a string is used, it is used there because the actual thing cannot be referenced by name at that point. Then trying to evaluate it at all would be an optimization in only those cases where it is used incorrectly / needlessly.

----------
nosy: +ztane

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26477>
_______________________________________


More information about the Python-bugs-list mailing list