Eric V. Smith <e...@trueblade.com> added the comment:

> And since there are definitely circumstances in which it can't return 
> __annotations__ directly, that indicates that it should never return 
> __annotations__ directly.

And the follow on here is that get_annotations() shouldn't set __annotations__ 
if it's None. I realize I'm just stating the obvious.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43817>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to