Message257555
| Author |
serhiy.storchaka |
| Recipients |
abarnert, gvanrossum, martin.panter, ncoghlan, r.david.murray, rhettinger, serhiy.storchaka |
| Date |
2016年01月05日.21:18:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1452028689.79.0.129049128121.issue25958@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
True, even I were not sure which should mean which. ;)
> When I manually trigger the code in typeobject.c:5827, I get a segfault;
I'm surprised no test triggered that.
I think this triggered one of Victor's guards, added to catch such sort of errors. In this case the function both raises an exception and returns a result. If not catch such sort of error, it can cause unexpected errors or very strange results during executing unrelated code, so crashing as early as possible is lesser evil. |
|