Python out params?
<p>Is it possible to do something like this:</p>

<pre><code>def foo(bar, success)
    success = True
    # ...

&gt;&gt;&gt; success = False
&gt;&gt;&gt; foo(bar1, success)
&gt;&gt;&gt; success
True
</code></pre>

<p>Does Python have out params, or an easy way to simulate them? (Aside from messing with parent's stack frames.)</p>
