alainpoint at yahoo.fr writes: > I don't want a better way, i just want a solution to the problem as > described! I once did something like: try: raise ValueError except ValueError, e: pass then get the traceback object out of e, and snarf the relevant source line as mentioned before.