Message263919
| Author |
berker.peksag |
| Recipients |
JJeffries, berker.peksag, docs@python, eric.araujo, loewis, ronaldoussoren, vstinner |
| Date |
2016年04月21日.13:49:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461246565.27.0.301924248731.issue12743@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Since 4059e871e74e, PyMarshal_ReadLongFromFile and PyMarshal_ReadShortFromFile can return -1 on error. Return values of those functions were already documented in acb4d43955f6. Some of the usages also check return value of PyErr_Occurred(): https://hg.python.org/cpython/rev/11958c69a4b2#l2.7
I removed the outdated paragraph and add a sentence about using PyErr_Occurred(). |
|