➜

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.

作者 chris.jerdonek
收信人 chris.jerdonek, gvanrossum, hynek, martin.panter, ned.deily, njs, vstinner, yselivanov
日期 2020-05-02.10:28:27
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1588415307.67.0.0971209616995.issue29587@roundup.psfhosted.org>
In-reply-to
内容
FYI, I just created a PR to add one more test to the prior fix, to test a slightly different aspect.

Whereas the test in the first PR checks that exc.__context__ is set after gen.throw() is finished, the new test checks that exc.__context__ is available also from within the generator (while the generator is running). I'm adding this test partly because this behavior is different from the "awaiting on a task" case, which I'm working on next.

Both of these tests were failing prior to the fix, which I confirmed.
历史
日期 用户 动作 参数
2020-05-02 10:28:27chris.jerdonek修改recipients: + chris.jerdonek, gvanrossum, vstinner, ned.deily, njs, hynek, martin.panter, yselivanov
2020-05-02 10:28:27chris.jerdonek修改messageid: <1588415307.67.0.0971209616995.issue29587@roundup.psfhosted.org>
2020-05-02 10:28:27chris.jerdonek链接issue29587 messages
2020-05-02 10:28:27chris.jerdonek创建