Message158730
| Author |
ronaldoussoren |
| Recipients |
amaury.forgeotdarc, loewis, pitrou, python-dev, ronaldoussoren, scoder |
| Date |
2012年04月19日.14:11:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334844685.96.0.46678694309.issue14098@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The documentation does not explain how this new API is different from PyErr_Fetch/PyErr_Restore. In particular the documentation doesn't mention that PyErr_Fetch and PyErr_GetExcInfo access different bits of the error state (curexc_* vs. exc_* in the thread state).
Because of this it is not clear why there are two sets of functions, and why you want to use one set or the other. |
|