<div dir="ltr"><div class="gmail_quote">On Sat, Oct 29, 2011 at 1:27 AM, Alex Gaynor <span dir="ltr"><<a href="mailto:alex.gaynor@gmail.com">alex.gaynor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Oct 28, 2011 at 7:24 PM, Ram Rachum <span dir="ltr"><<a href="mailto:ram@rachum.com" target="_blank">ram@rachum.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
<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></div></div>_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org" target="_blank">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</div><div><br></div></blockquote>
<div><br></div><div style="direction: ltr;">I guess a script could be made that would go over <i>all</i> the classes in CPython, see all their methods, compare to those of PyPy, and point out which ones we forgot.</div><div style="direction: ltr;">
<br></div><div style="direction: ltr;"><br></div><div style="direction: ltr;">Ram.</div></div><br></div>