On Thu, Apr 29, 2021 at 8:22 PM Sergei Lebedev <sergei.a.lebedev@gmail.com> wrote:
I like the idea of having special syntax for types definitions. However, I'm curious how this would interact with the existing (type-free) way of defining types? Do you see type assignment eventually becoming the one and only way?

I'd expect that new code (that doesn't need to support older Python versions) would have little reason not to use the new syntax. It also seems feasible to write migration tools to translate existing code to use the new syntax.

We wouldn't be able to remove the current type syntax any time soon, since it's used all over the place. I think that we can continue supporting the old syntax for legacy code indefinitely, since maintaining support for the old syntax seems easy enough.
 
Jukka