Does python officially support reusing a loop-variable after the loop?
<p>Is the following code bad practice?</p>

<pre><code>for i in some_values:
    do_whatever(i)
do_more_things(i)
</code></pre>

<p>Somehow, it feels to me like the variable <code>i</code> should remain in the scope to the block inside the for-loop.  However python 2.7 lets me reuse it after the loop.</p>

<p>Does python officially supports that feature, or am I abusing the language?</p>
