<div><br></div><div>Anand, nice find..</div><div><br></div><div>But i read this in python docs - <br></div><div><br></div><div>&quot;  Warning<br>Assigning the traceback return value to a local variable in a function that is handling an exception will cause a circular reference. This will prevent anything referenced by a local variable in the same function or by the traceback from being garbage collected. Since most functions don’t need access to the traceback, the best solution is to use something like exctype, value = sys.exc_info()[:2] to extract only the exception type and value. If you do need the traceback, make sure to delete it after use (best done with a try ... finally statement) or to call exc_info() in a function that does not itself handle an exception.&quot;</div>
<div><br><br></div><div>--Bhaskar.</div><div><br></div><div><br></div><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 9:47 PM, Noufal Ibrahim <span dir="ltr">&lt;<a href="mailto:noufal@gmail.com">noufal@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, Oct 6, 2009 at 9:24 PM, Anand Chitipothu &lt;<a href="mailto:anandology@gmail.com">anandology@gmail.com</a>&gt; wrote:<br>

[..]<br>
<div class="im">&gt;<br>
&gt; Has anybody else faced similar situation? Any better solutions?<br>
<br>
</div>Can&#39;t say I&#39;ve come across it. However, it looks like (and was<br>
classified as) a bug which is fixed. :)<br>
<font color="#888888"><br>
<br>
--<br>
~noufal<br>
<a href="http://nibrahim.net.in" target="_blank">http://nibrahim.net.in</a><br>
</font><div><div class="h5">_______________________________________________<br>
BangPypers mailing list<br>
<a href="mailto:BangPypers@python.org">BangPypers@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/bangpypers" target="_blank">http://mail.python.org/mailman/listinfo/bangpypers</a><br>
</div></div></blockquote></div><br>