Skip to content

Releases: cknd/stackprinter

0.2.13

Choose a tag to compare

@cknd cknd released this 17 Apr 07:09
7a07a51

What's Changed

New Contributors

Full Changelog: 0.2.12...0.2.13

0.2.12

Choose a tag to compare

@cknd cknd released this 13 Mar 19:35
219fcc5

What's Changed

  • Add py 3.12 to CI by @cknd in #70
  • Fix handling of multi-line f strings in python >= 3.12 by @cknd in #69

Full Changelog: 0.2.11...0.2.12

0.2.11

Choose a tag to compare

@cknd cknd released this 24 Nov 20:11

What's Changed

  • Fall back to default traceback when receiving an ExceptionGroup by @cknd in #66
  • Fix incorrect docstring, thx to @den-kar #64

Full Changelog: 0.2.10...0.2.11

0.2.10

Choose a tag to compare

@cknd cknd released this 24 Nov 20:29
be5c669

What's Changed

  • Remove Packaging dependency by replacing the explicit numpy version check with an exception handler by @cknd in #60

Full Changelog: 0.2.9...0.2.10

0.2.9

Choose a tag to compare

@cknd cknd released this 30 Sep 15:01
117e2f8

What's Changed

  • Fix 'builtin-code' object has no attribute 'co_filename' under pypy by @breezechen in #58

New Contributors

Full Changelog: 0.2.8...0.2.9

0.2.8

Choose a tag to compare

@cknd cknd released this 25 Aug 09:15
5b7d384

What's Changed

  • Replace deprecated distutils.LooseVersion by packaging.version by @cknd in #57

Full Changelog: 0.2.7...0.2.8

0.2.7

Choose a tag to compare

@cknd cknd released this 12 Aug 14:25
92cc5b6

0.2.7 - August 12, 2022

Fixed

  • Degrade more gracefully in environments where the standard output streams (stdout, stderr) are not available, such as the pythonw.exe GUI. Concretely: 1) If stackprinter's show() function is called in such an environment and with default arguments, it will now return silently (doing nothing) instead of crashing. 2) the 'Traceprinter' toy now uses the built in print function (so that it doesn't try to access sys.stderr.write on import).

Full Changelog: 0.2.6...0.2.7

0.2.6

Choose a tag to compare

@cknd cknd released this 02 Apr 13:25
e737c52

Added

  • New kwarg suppressed_vars to redact certain variables, e.g. to keep secrets out of error logs

0.2.5 - Oct 31, 2020

Choose a tag to compare

@cknd cknd released this 31 Oct 13:10

Fixed

  • Allows passing (None, None, None) to format_exception
  • Fixed a crashing type error that could occur in longer code scopes (e.g. in the repl)

0.2.4 - June 17, 2020

Choose a tag to compare

@cknd cknd released this 17 Jun 20:14

Changed

  • Disabled verbose formatting for KeyboardInterrupts by default. Call format(..., suppressed_exceptions=None) to enforce verbose printing even on a keyboard interrupt.

Added

  • New keyword arg suppressed_exceptions to disable verbose formatting for certain types of exceptions (generating a standard python-like traceback instead).
  • New keyword arg line_wrap to adjust or disable the line wrap on variable values.