title: Why does integer division yield a float instead of another integer?
body: <p>Consider this division in Python:</p>
  <pre class="lang-none prettyprint-override"><code>Python 3.1 (r31:73574, Jun 26 2009, 20:21:35) [MSC v.1500 32 bit (Intel)] on win32
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt; 2/2
  1.0
  </code></pre>
  <p>Is this intended? I strongly remember earlier versions returning <code>int/int = int</code>. What should I do? Is there a new division operator or must I always cast?</p>