Ryan Gonzalez schrieb am 11.09.2017 um 19:16: > One thing I want to point out: there are a lot of really useful Python > libraries that have come to rely on annotations being objects, ranging > from plac to fbuild to many others. I could understand something that > delays the evaluation of annotations until they are accessed, but this > seems really extreme.
I guess there could be some helper that would allow you to say "here's an annotation or a function, here's the corresponding module globals(), please give me the annotation instances". But the "__annotations__" mapping could probably also be self-expanding on first request, if it remembers its globals(). Stefan _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/