In Python, sending a value other than `None` into the first invocation of
`send` raises an error. That seems like a reasonable behaviour to me,
without introducing too much weirdness.
TypeError: can't send non-None value to a just-started generator
On Thursday, May 14, 2015, Allen Wirfs-Brock <[email protected]> wrote:
> At the March TC39 meeting we agreed that the `function.next` metapropty
> should be made into a standalone stage 1 proposal.
>
> That proposal is now available at:
> https://github.com/allenwb/ESideas/blob/master/Generator%20metaproperty.md
>
>
> Allen
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss