@deshipu "Flat is better than nested" 😉 Besides, maybe I misunderstand you, but all typing-related stuff is already in a separate namespace: the "typing" module (and "collections.abc").
@deshipu@orsinium So your problem is that, unlike some other programming languages like #Scala where you can have an object with the same name as a #type (and in fact Scala has some extra rules for implicits resolutions for companion objects), #Python types are essentially objects.
I think that is a feature, not a bug, as it allows to have #dependentType
Add comment