Hi again, Stefan Behnel wrote: > Currently, when you write this: > > try: ... > except SomeException: > raise NewException > > SomeException will remain in sys.exc_info(), or rather in > PyThreadState->exc_type/value/tb. Subsequently raised exceptions will find > it there and make it their "context". > [...] > Both changes make the test suite pass in Py 3.0.1, and it still works in > Py2.6.
They also seem to be the fix for an extremely long standing crash bug that I experienced with lxml under Py3. So, for me, that means that the final release of lxml 2.2 will finally support Py 3.0 completely and reliably. Filed and closed as ticket 219. http://trac.cython.org/cython_trac/ticket/219 http://hg.cython.org/cython-devel/rev/24bb0456d787 I actually found these things using a debug build of Py 3.0.1. It's a very valuable source of information when it comes to tracking down crashes and a number of other problems with extensions. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
