On 10 November 2017 at 19:20, Lukasz Langa <luk...@langa.pl> wrote: > Alright, we're on bikeshed territory now. Finally! :-) > > I was always thinking about this as "static annotations". The fact they're > strings at runtime is irrelevant for most people who will use this future.
It's highly relevant to anyone currently using annotations for a purpose *other than* type hints, though - they're going to have to work out how to cope with annotations being strings rather than eagerly evaluated expressions. It's also a hopefully useful mnemonic as to what the new runtime semantics are: the feature flag makes it as if all your annotations were quoted strings, just without the actual quote markers. > They don't want string annotations, they want them to not be evaluated on > import time... they want them to be static. Also, "static typing" et al. I > think it has a nice vibe to it. Getting folks to *not* call type hinting static typing is an ongoing challenge though, so it doesn't seem like a good idea to encourage that link to me. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com