<br><br><div class="gmail_quote">On Fri, Oct 28, 2011 at 7:24 PM, Ram Rachum <span dir="ltr"><<a href="mailto:ram@rachum.com">ram@rachum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Guys, am I missing something?<div><br></div><div>-----------------------------</div><div><br></div><div><div><b>Python 2.7.2</b> (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> x = 4.5</div><div>>>> x.is_integer()</div><div>False</div></div><div><br></div><div>-----------------------------</div><div><br></div><div><div>Python 2.7.1 (080f42d5c4b4, Aug 23 2011, 11:41:11)</div>
<div>[<b>PyPy 1.6.0</b> with MSC v.1500 32 bit] on win32</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div>And now for something completely different: ``- It's hard to say exactly what</div>
<div>constitutes research in the computer world, but as a first approximation, it's</div><div>software that doesn't have users.''</div><div>>>>> x = 4.5</div><div>>>>> x.is_integer()</div>
<div>Traceback (most recent call last):</div><div> File "<console>", line 1, in <module></div><div>AttributeError: 'float' object has no attribute 'is_integer'</div><div><br></div><div>
-----------------------------</div></div></div>
<br>_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
<br></blockquote></div><br>Nope, it appears we're missing. In our defense, CPython has *zero* tests for it, so I'd just as soon assume it doesn't work at all...<div><br></div><div>Alex<br clear="all"><div><br>
</div>-- <br>"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>"The people's good is the highest law." -- Cicero<br>
<br>
</div>