KotlinIsland / basedtyping

Runtime components for use with basedmypy
MIT License
9 stars 2 forks source link

second and third generics on `Generator` should be optional #56

Open DetachHead opened 2 years ago

DetachHead commented 2 years ago

Generator[int, None, None] is super gross, especially since they are pretty much never used

KotlinIsland commented 2 years ago

would need some kind of default type parameter support first, can you raise that?

DetachHead commented 2 years ago

i dont understand how it works enough, maybe you should

DetachHead commented 2 years ago

idk if this is related, being able to specify an arbitrary number of type parameters to Generic? https://github.com/KotlinIsland/basedmypy/issues/126