spacepaste

  1.  
  2. trace = (
  3. traceback.TracebackException
  4. .from_exception(
  5. exc,
  6. limit=limit,
  7. lookup_lines=lookup_lines,
  8. capture_locals=capture_locals,
  9. # copy the set of _seen exceptions so that duplicates
  10. # shared between sub-exceptions are not omitted
  11. _seen=set(_seen),
  12. )
  13. .something()
  14. .something_else()
  15. .something_even_longer()
  16. .more_things()
  17. .additional_thingies()
  18. .here_is()
  19. .the_end()
  20. )
  21. trace = (
  22. traceback.TracebackException.from_exception(
  23. exc,
  24. limit=limit,
  25. lookup_lines=lookup_lines,
  26. capture_locals=capture_locals,
  27. # copy the set of _seen exceptions so that duplicates
  28. # shared between sub-exceptions are not omitted
  29. _seen=set(_seen),
  30. )
  31. .something()
  32. .something_else()
  33. .something_even_longer()
  34. .more_things()
  35. .additional_thingies()
  36. .here_is()
  37. .the_end()
  38. )
  39. trace = (
  40. traceback.TracebackException.from_exception(
  41. exc,
  42. limit=limit,
  43. lookup_lines=lookup_lines,
  44. capture_locals=capture_locals,
  45. # copy the set of _seen exceptions so that duplicates
  46. # shared between sub-exceptions are not omitted
  47. _seen=set(_seen),
  48. )
  49. .something()
  50. .something_else()
  51. .something_even_longer()
  52. .more_things()
  53. .additional_thingies()
  54. .here_is()
  55. .the_end()
  56. )
  57.