You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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).
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.