<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 23/04/2015 19:52, Ryan Gonzalez wrote:<br>
<blockquote
cite="mid:CAO41-mNZ9we693+aL=NFHbW-VrzHTe2vUm12WSpchyS_fx+E-w@mail.gmail.com"
type="cite">
<div dir="ltr">Observe:
<div><br>
</div>
<div>
<div>ryan@DevPC-LX:~/bfort$ python -c 'import sys;
sys.exit(1)'</div>
<div>ryan@DevPC-LX:~/bfort$ python -c 'import sys;
sys.exit(1L)'</div>
<div>1</div>
<div>ryan@DevPC-LX:~/bfort$ </div>
<div><br>
</div>
<div>If I call sys.exit with a long value under Python 2, it
prints it. I count this as a bug because:</div>
<div><br>
</div>
<div>1. int and long are supposed to be as similar as
possible.</div>
<div>2. When you're using Hy (which implicitly makes all ints
longs), this sucks.</div>
<div><br>
</div>
</div>
</div>
</blockquote>
Yes the same happens from the [2.7.3] interpreter if you exit from
it with<br>
import sys; sys.exit(0L)<br>
<blockquote
cite="mid:CAO41-mNZ9we693+aL=NFHbW-VrzHTe2vUm12WSpchyS_fx+E-w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Ryan</div>
<div dir="ltr">[ERROR]: Your autotools build scripts
are 200 lines longer than your program.
Something’s wrong.<br>
</div>
<div dir="ltr">
<div><a moz-do-not-send="true"
href="http://kirbyfan64.github.io/"
target="_blank">http://kirbyfan64.github.io/</a>
<div
style="display:inline-block;width:16px;height:16px"> </div>
<div
style="display:inline-block;width:16px;height:16px"> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python-ideas mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-ideas@python.org">Python-ideas@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a>
Code of Conduct: <a class="moz-txt-link-freetext" href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="" avgcert""="" color="#000000" align="left">No virus
found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2014.0.4800 / Virus Database: 4311/9607 - Release Date:
04/23/15</p>
</blockquote>
<br>
</body>
</html>