spacepaste

  1.  
  2. trace = (
  3. traceback
  4. .TracebackException()
  5. .from_exception(
  6. exc,
  7. limit=limit,
  8. lookup_lines=lookup_lines,
  9. capture_locals=capture_locals,
  10. # copy the set of _seen exceptions so that duplicates
  11. # shared between sub-exceptions are not omitted
  12. _seen=set(_seen),
  13. )
  14. .something()
  15. .something_else()
  16. .something_even_longer()
  17. .more_things()
  18. .additional_thingies()
  19. .here_is()
  20. .the_end()
  21. )
  22.