Message334020
bryan.koch wrote:
> It would be awesome if invoking a generator above would throw a
> SyntaxError iff it contained a return and it wasn't invoked through `yield
> from`.
Why do you care about that so much? There's nothing to stop you
from ignoring the return value of an ordinary function. Why should
generator functions be different? |
|
Date |
User |
Action |
Args |
2019-01-18 22:38:28 | greg.ewing | set | recipients:
+ greg.ewing, terry.reedy, steven.daprano, Bryan Koch |
2019-01-18 22:38:27 | greg.ewing | link | issue35756 messages |
2019-01-18 22:38:27 | greg.ewing | create | |
|