When I awoke from a nap this afternoon I remembered sys.excepthook. <https://docs.python.org/3/library/sys.html#sys.excepthook> Overriding this method catches (almost) all exceptions.
*There is no need to use the @g.callback decorator!* #2081 <https://github.com/leo-editor/leo-editor/issues/2081> and PR #2082 <https://github.com/leo-editor/leo-editor/pull/2082>show the straightforward changes. Overriding sys.excepthook should catch any lingering exceptions involving Qt. Leo is now *much* more solid than before. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/5a5f0cb4-bd18-4eb8-a852-760ba2e8f00fn%40googlegroups.com.
