Alexander Belopolsky added the comment:

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().

----------
nosy: +belopolsky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14376>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to