GC in python: what will this behave?
<p>A python class A:</p>

<pre><code>a = A()
array.append(a)
</code></pre>

<p>...
some operation triggers a's method b()</p>

<pre><code>in a.b():

array.remove(self);
# will this make the self be freed? as the only reference has been removed from array.
# access the a's data...
</code></pre>
