
July 31, 2019
1:22 a.m.
MyAlias: TypeAlias = int
Looks like a typed global from https://www.python.org/dev/peps/pep-0526/#global-and-local-variable-annotati... Which has the upside in this example "MyAlias is int" but I wonder if there's a downside somewhere, for example, presently this statement is evaluated at runtime, and ought to fail should `int` not be defined?