From: John H. <jdh...@ac...> - 2004-11-22 23:12:50
|
>>>>> "Fernando" == Fernando Perez <Fer...@co...> writes: >> overridden. I don't see any elegant way to do this. Any >> ideas? Fernando> In [2]: sys.__excepthook__ is sys.excepthook Out[2]: Excellent. So if the backends define a function excepthook_backend and matplotlib.matlab does if sys.__excepthook__ is sys.excepthook: sys.excepthook = excepthook_backend would we be in reasonably good standing with the python gods and others? JDH |