Message303748
Currently typing.Generator requires three arguments: Generator[YieldType, SendType, ReturnType].
At least for me, passing values to a generator is a very rare case. I suggest to allow only one argument to be passed to Generator: Generator[YieldType], where the other arguments default to None. This makes the common case more readable and is less error-prone. (I always forget the second and third argument, since that use case is so uncommon for me.) |
|
Date |
User |
Action |
Args |
2017-10-05 08:35:17 | srittau | set | recipients:
+ srittau |
2017-10-05 08:35:17 | srittau | set | messageid: <1507192517.86.0.213398074469.issue31700@psf.upfronthosting.co.za> |
2017-10-05 08:35:17 | srittau | link | issue31700 messages |
2017-10-05 08:35:17 | srittau | create | |
|