Can you get a python traceback object off a clr exception?

I've got to think internally there must be a way, because
ScriptEngine.FormatException expects a clr exception. Is there a
public interface to do that? It would be nice if there could be, in
python you can do everything with sys.exc_info() because typically all
the cases you want a traceback object, you're in an except clause or
being called out of one. In .NET however, sometimes you get passed an
exception in an event handler, and then sys.exc_info() is useless.

-Dan
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to