[IronPython] Exceptions Running nose and IronPython
dinov at microsoft.com
Sat Mar 7 20:44:51 CET 2009
I can't run it right now but if these are happening on the finalizer thread then this has most likely been fixed in the 2.6 branch already. The issue is that when a generator is not run to exhaustion we need to call close() on it which causes an exception to be thrown. But we can avoid the exception if the generator has no except/finally blocks as no user code will run when the throw occurs.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Darrell Hawley
Sent: Saturday, March 07, 2009 8:11 AM
To: IronPython Mailing List
Subject: [IronPython] Exceptions Running nose and IronPython
I was talking to some of the Dynamic folks at the Microsoft MVP Summit about my experience using nose in IronPython. I blogged about it and sent a link to both Harry P. and Michael Foord, but I left everyone else out. You can find my original post at http://srtsolutions.com/blogs/darrellhawley/archive/2009/03/06/running-nose-with-ironpython.aspx.
Just so you don't have to go clicking on links, here's my script:
Performance is awful probably due to the number of GeneratorExitExceptions being thrown. If anyone has any ideas, I'd love to hear them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users