On Mar 27, 6:28 am, "Edward K. Ream" <[email protected]> wrote:
> P.S. There seems to be a serious problem with Alt-6 and Python 3.x, > and possibly Python 2.x. g.pdb doesn't report exceptions when > running(!) I'll have to track this down soon :-) The serious problem was in my understanding of the try/finally clause :-) The new lint's base visit method contained a 'return' in a 'finally' clause, which causes Python to ignore the exception(!) The fix was trivial: move the 'return' statement out of the finally clause. I'm sure there is a good reason for this behavior, but it took a long time to track it down. Maybe I'll remember this gotcha now... EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
