[Python-ideas] Issue with sys.exit and a long
rymg19 at gmail.com
Thu Apr 23 20:52:29 CEST 2015
ryan at DevPC-LX:~/bfort$ python -c 'import sys; sys.exit(1)'
ryan at DevPC-LX:~/bfort$ python -c 'import sys; sys.exit(1L)'
ryan at DevPC-LX:~/bfort$
If I call sys.exit with a long value under Python 2, it prints it. I count
this as a bug because:
1. int and long are supposed to be as similar as possible.
2. When you're using Hy (which implicitly makes all ints longs), this sucks.
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas