Skip to content

Latest commit

 

History

History
184 lines (90 loc) · 4.38 KB

CHANGELIST.md

File metadata and controls

184 lines (90 loc) · 4.38 KB

v1.2.19

  • Fixed line number discrepancies in example image, added example image for mono() mode.
  • Autogenerated configure() call now has each entry commented out.
  • Added environment variable PYTHON_PRETTY_ERRORS_ISATTY_ONLY. If set to non-zero then pretty_errors will check if it is outputing to an interactive terminal, and only activate if it is (so logging to file will retain the standard Python exception formatting).
  • Added __version__

v1.2.18

  • Now outputs filename and filename2 attributes of exceptions (e.g. in FileNotFoundError)
  • Added exception_file_color config option to color them.

v1.2.17

  • Suppressed exceptions no longer displayed (i.e. respects suppress_context flag)
  • Added show_suppressed config option to override this behaviour.

v1.2.16

  • Added support for when exceptions are thrown within exceptions.
  • Added inner_exception_message and inner_exception_separator config options.

v1.2.15

  • Really fix bug when used in interactive interpreter.

v1.2.14

  • Fix bug when used in interactive interpreter.

v1.2.13

  • No, really, fix the README URLs

v1.2.12

  • Fix README image URLs

v1.2.11

  • Fix bug when reporting SyntaxError in interactive interpreter.

v1.2.10

  • Minor fixes

v1.2.9

  • Added replace_stderr function to allow for situation where pretty_errors cannot gain access to sys.excepthook.
  • Moved installer script entirely into __main__.
  • Fixed not working with venv.
  • Improved automatic cleaning of startup files.

v1.2.8

  • Added check for startup files left over after uninstall.
  • Added clean option when running module directly.

v1.2.7

  • Fixed point_at bug.
  • Added color constants: BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, BRIGHT_BLACK, BRIGHT_RED, BRIGHT_GREEN, BRIGHT_YELLOW, BRIGHT_BLUE, BRIGHT_MAGENTA, BRIGHT_CYAN, BRIGHT_WHITE, BLACK_BACKGROUND, RED_BACKGROUND, GREEN_BACKGROUND, YELLOW_BACKGROUND, BLUE_BACKGROUND, MAGENTA_BACKGROUND, CYAN_BACKGROUND, WHITE_BACKGROUND

v1.2.6

  • Fixed pathed_config bug.
  • Added activate call.
  • Added arrow pointing to syntax error.
  • Added config options display_arrow, arrow_head_character, arrow_head_color, arrow_tail_character, arrow_tail_color, syntax_error_color

v1.2.5

  • Fix comment skeleton in *customize.py output.

v1.2.4

  • README updated.

v1.2.3

  • Added ExceptionWriter class to allow for overriding.
  • Added pathed_config call to allow for multiple configs, activated by path of code file in frame.
  • Added environment variable PYTHON_PRETTY_ERRORS. If set to 0 then pretty_errors will be disabled.

v1.2.2

  • separator_character can now be set to None or '' to disable header.
  • Improved install wizard.
  • Spelling corrections.

v1.2.1

  • Fix for Python 2

v1.2.0

  • Added mono function to set useful config options for a monochrome terminal.
  • Added config option timestamp_function
  • Added default_config for reference.
  • May now use any characters in color prefixes (not just escape sequences)
  • Removed config options line_prefix, code_prefix, line_prefix_color, code_prefix_color - no longer needed because of above.

v 1.1.11

  • Fix for python 2

v1.1.10

  • Added __main__ for running with -m
  • Removed post-install code (it doesn't work with pip - pip has no post-install hook)

v1.1.9

  • Automated adding to sitecustomize.py

v1.1.8

  • Added config options always_display_bottom, truncate_locals, truncate_code, line_prefix, code_prefix, line_prefix_color, code_prefix_color, local_len_color

v1.1.7

  • Site customize instructions.

v1.1.6

  • Added config options display_locals, display_trace_locals, local_name_color, local_value_color

v1.1.5

  • Nada

v1.1.4

  • colorama dependency

v1.1.3

  • Added whitelist and blacklist

v1.1.2

  • Fix README

v1.1.1

  • Python 2.7 compatibility

v1.1.0

  • Reworked to replace sys.excepthook instead of sys.stderr
  • Now automatically works out line length if line length is 0 (which is the default)
  • Added config options: top_first, stack_depth, exception_above, exception_below, lines_before, lines_after, trace_lines_before, trace_lines_after, line_color, code_color , exception_color, exception_arg_color, prefix, infix, postfix, line_number_first
  • Removed config option: default_color