Message376735
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 |
|
Date |
User |
Action |
Args |
2020-09-11 17:19:55 | v2m | set | recipients:
+ v2m, scoder, vstinner, lukasz.langa, Mark.Shannon, serhiy.storchaka, yselivanov |
2020-09-11 17:19:55 | v2m | set | messageid: <1599844795.21.0.963040154854.issue41756@roundup.psfhosted.org> |
2020-09-11 17:19:55 | v2m | link | issue41756 messages |
2020-09-11 17:19:55 | v2m | create | |
|