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 v2m
Recipients Mark.Shannon, lukasz.langa, scoder, serhiy.storchaka, v2m, vstinner, yselivanov
Date 2020-09-11.17:19:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599844795.21.0.963040154854.issue41756@roundup.psfhosted.org>
In-reply-to
Content
If I understand proposed shape of API correctly - it was not supposed to return exception via "result" so contract for new `PyGen_Send` function is something like:

Return value | result   | Comment
-----------------------------------------------------
PYGEN_RETURN | not NULL | Returned value
PYGEN_NEXT   | not NULL | Yielded value
PYGEN_ERROR  | NULL     | Regular PyErr_* functions should be used to work with error case
History
Date User Action Args
2020-09-11 17:19:55v2msetrecipients: + v2m, scoder, vstinner, lukasz.langa, Mark.Shannon, serhiy.storchaka, yselivanov
2020-09-11 17:19:55v2msetmessageid: <1599844795.21.0.963040154854.issue41756@roundup.psfhosted.org>
2020-09-11 17:19:55v2mlinkissue41756 messages
2020-09-11 17:19:55v2mcreate