<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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</div>

<div>&gt;&gt;&gt; x = 4.5</div><div>&gt;&gt;&gt; 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 &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</div><div>And now for something completely different: ``- It&#39;s hard to say exactly what</div>

<div>constitutes research in the computer world, but as a first approximation, it&#39;s</div><div>software that doesn&#39;t have users.&#39;&#39;</div><div>&gt;&gt;&gt;&gt; x = 4.5</div><div>&gt;&gt;&gt;&gt; x.is_integer()</div>

<div>Traceback (most recent call last):</div><div>  File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;</div><div>AttributeError: &#39;float&#39; object has no attribute &#39;is_integer&#39;</div><div><br></div><div>

-----------------------------</div></div></div>