Nick Coghlan <[email protected]> added the comment:
Technically, it returns -1 (which later gets coerced to an unsigned value).
However, there's no good reason for the inconsistency - the offending line
(663) in main.c should be changed to be:
sts = (RunModule(module, 1) != 0);
It is currently just:
sts = RunModule(module, 1);
An additional test in test_cmd_line_script is also needed to ensure that both
variants give a returncode of 1 in the future.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15033>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com