Message384251
| Author |
pablogsal |
| Recipients |
Ken.Cheung, ezio.melotti, iritkatriel, pablogsal, serhiy.storchaka |
| Date |
2021年01月03日.01:57:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1609639075.48.0.309752656386.issue15106@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Adding extra checks to PyErr_SetExcInfo doesn't have a lot of value because is already out of of contract. If you pass an invalid object (let's say a list) to any of the specific APIs (like PyDict_GetItem) it will crash anyway. We could add some assert, though. |
|