This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Dennis Sweeney, Mark.Shannon, dpgeorge
Date 2021-10-27.10:21:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Damien, thanks for catching this.

The change was not intended.

There are two kind of exceptions raised by send.
1. Where a pre-condition is not met, e.g. a generator is already ruuning (caller errors)
2. When the generator/coroutine raises an exception (callee exceptions).

(1) does not change the state of the generator, (2) does.

Sending non-None to a generator that has not started falls into kind 1, IMO. So we should revert the change.
Date User Action Args
2021-10-27 10:21:53Mark.Shannonsetrecipients: + Mark.Shannon, Dennis Sweeney, dpgeorge
2021-10-27 10:21:53Mark.Shannonsetmessageid: <>
2021-10-27 10:21:53Mark.Shannonlinkissue43683 messages
2021-10-27 10:21:53Mark.Shannoncreate