I\'m trying to catch an exception in a thread and re-raise it in the main thread:
import threading import sys class F
Could you write it somewhat like this:
try: raise ValueError('x') except ValueError as ex: self.exc_info = ex
and then use the stacktrace from the exception?