
Dec. 11, 2020
3:11 a.m.
Per PEP 563:
Most importantly, Guido van Rossum explicitly stated interest in gradually restricting the use of annotations to static typing (with an optional runtime component).
As I'm working on runtime type encoding and validation using type annotations, this passage raises a bit of a concern, as I don't know what is meant by optional runtime component. Looking for any discussion on this. I checked: https://bugs.python.org/issue38605 https://github.com/ambv/static-annotations/issues?q=is%3Aissue+is%3Aclosed Can't find any references to runtime. Can someone point me to (or briefly explain) the thinking on this? Thanks, Paul