Re:Untyped Python: The Python That Was
by lawrencejgd on Sunday December 03, 2023 @12:46AM
(#38505141)
They're evaluated at runtime, but CPython never checks if type hints are right or not. If you use "from __future__ import annotations" then they're converted to strings, so they could even have references to objects that don't exists (this is for a better performance).
[ Parent
| on HN ]
There are no comments on this comment yet.