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 asvetlov
Recipients asvetlov, eric.snow, iritkatriel
Date 2022-03-18.12:44:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647607479.65.0.494189910311.issue46343@roundup.psfhosted.org>
In-reply-to
Content
I have a side question.
generator.throw() and coroutine.throw() have throw(type[, value[, traceback]]) signature.

Is there a plan to update generators somehow to accept the exception value only?
The change can go in line with other exception API changes.
History
Date User Action Args
2022-03-18 12:44:39asvetlovsetrecipients: + asvetlov, eric.snow, iritkatriel
2022-03-18 12:44:39asvetlovsetmessageid: <1647607479.65.0.494189910311.issue46343@roundup.psfhosted.org>
2022-03-18 12:44:39asvetlovlinkissue46343 messages
2022-03-18 12:44:39asvetlovcreate