logoalt Hacker News

__MatrixMan__ • today at 4:07 PM • 0 replies • view on HN

In python, aliases are separate from typing.NewType, but you're right: it's only enforced within a codebase and then only if the dev cares to run the typechecker.

So yeah, I guess it either needs to happen at runtime, or we just do signaling and user data on separate file descriptors.