Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a hopefully complete patch using the same approach as before.
However I'm now convinced that another approach would be better in order to solve both this bug and the various re-raising issues. It would involve replacing most of the set_exc_info() / reset_exc_info() mechanism in ceval.c with something different, probably based on saving/restoring exception state values onto/from the frame stack. Problem is, I'm not sure I'll have time for it very soon. Added file: http://bugs.python.org/file10430/better_exc_cleanup.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2507> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com