On Wed, Jan 14, 2009 at 6:12 AM, Nick Coghlan <span dir="ltr">&lt;<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Dino Viehland wrote:<br>
&gt; We had a bug reported that effectively boils down to we're not<br>
&gt; swallowing exceptions when list calls __len__<br>
&gt; (<a href="http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&amp;WorkItemId=20598" target="_blank">http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&amp;WorkItemId=20598</a>).<br>
&gt;<br>
&gt;<br>
&gt; We can obviously make the change to catch exceptions here in<br>
&gt; IronPython even if it seems like a bad idea to me ☺ &nbsp;But CPython<br>
&gt; seems to catch not only normal exceptions, but also SystemExit. &nbsp;It<br>
&gt; seems like there's been a move away from this so I thought I'd<br>
&gt; mention it here. &nbsp;I tested it on 2.6.1 and 3.0.<br>
<br>
</div>I&#39;d agree that CPython appears to be the one misbehaving here, rather<br>
than IronPython.<br>
<br>
Opening a new issue at <a href="http://bugs.python.org" target="_blank">bugs.python.org</a> would be the best way forward.<br>
</blockquote><div><br>
There is already a bug for this, I believe: <br>
<br>
<a href="http://bugs.python.org/issue1242657">http://bugs.python.org/issue1242657</a><br>
<br>
Karen <br></div></div>