← 输入框|bugs.python.org|刷新

➜

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.

作者 vstinner
收信人 ZackerySpytz, graingert, matrixise, serhiy.storchaka, vstinner
日期 2019-05-14.16:22:42
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1557850963.13.0.248801888257.issue36829@roundup.psfhosted.org>
In-reply-to
内容
I'm interested to modify regrtest (test runner of the Python test suite) to use sys.unraisablehook(). It would be nice to add an option to display again *all* unraisable exceptions in the test summary, at the end.

I did a similar experimentation for any warnings, so my implementation was fragile because regrtest was hard to extend. That's why I introduced a new TestResult type: to be able to add more fields without breaking all the code. Prevously, a test result was a tuple which was manually unpacked. So adding a new field could break code which wasn't updated to handle new fields.
历史
日期 用户 动作 参数
2019-05-14 16:22:43vstinner修改recipients: + vstinner, serhiy.storchaka, graingert, matrixise, ZackerySpytz
2019-05-14 16:22:43vstinner修改messageid: <1557850963.13.0.248801888257.issue36829@roundup.psfhosted.org>
2019-05-14 16:22:43vstinner链接issue36829 messages
2019-05-14 16:22:42vstinner创建