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
  41. .from_exception(
  42. exc,
  43. limit=limit,
  44. lookup_lines=lookup_lines,
  45. capture_locals=capture_locals,
  46. # copy the set of _seen exceptions so that duplicates
  47. # shared between sub-exceptions are not omitted
  48. _seen=set(_seen),
  49. )
  50. .something()
  51. .something_else()
  52. .something_even_longer()
  53. .more_things()
  54. .additional_thingies()
  55. .here_is()
  56. .the_end()
  57. )
  58.