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 yselivanov
Recipients Mark.Shannon, lukasz.langa, scoder, serhiy.storchaka, v2m, yselivanov
Date 2020-09-16.17:05:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600275940.94.0.675346880589.issue41756@roundup.psfhosted.org>
In-reply-to
Content
> As for returned value, I propose to return -1 in case of error, 1 for yielded value and 0 for returned value (i.e. define PYGEN_RETURN = 0, PYGEN_YIELD = 1 and PYGEN_ERROR = -1, but without exposing public names).

Sure, that works.
History
Date User Action Args
2020-09-16 17:05:40yselivanovsetrecipients: + yselivanov, scoder, lukasz.langa, Mark.Shannon, serhiy.storchaka, v2m
2020-09-16 17:05:40yselivanovsetmessageid: <1600275940.94.0.675346880589.issue41756@roundup.psfhosted.org>
2020-09-16 17:05:40yselivanovlinkissue41756 messages
2020-09-16 17:05:40yselivanovcreate