Message241884
| Author |
belopolsky |
| Recipients |
belopolsky, gdr@garethrees.org, mark.dickinson, terry.reedy |
| Date |
2015年04月23日.20:18:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1429820284.13.0.358439297396.issue14376@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I am -1 on the patch. (int)PyLong_AsLong(value) can silently convert non-zero error code to zero.
I would leave 2.7 as is and limit allowable values to a range supported by
the platform.
Note that ANSI C standard only specifies two values: EXIT_SUCCESS and EXIT_FAILURE, that may be passed to exit(). |
|