hy/docs/language
Brandon T. Willard e468d5f081 Refactor REPL error handling and filter Hy internal trace output
These changes make the Hy REPL more closely follow `code.InteractiveConsole`'s
class interface and provide minimally intrusive traceback print-out filtering
via a context manager that temporarily alters `sys.excepthook`.  In other words,
exception messages from the REPL will no longer show Hy internal
code (e.g. importer, compiler and parsing functions).

The boolean variable `hy.errors._hy_filter_internal_errors` dynamically
enables/disables trace filtering, and the env variable
`HY_FILTER_INTERNAL_ERRORS` can be used as the initial value.
2019-02-07 13:43:58 -05:00
..
api.rst Clarifying &optional documentation (fixes #1722) 2019-01-20 17:11:52 -05:00
cli.rst Refactor REPL error handling and filter Hy internal trace output 2019-02-07 13:43:58 -05:00
core.rst Update description of `eval` in core.rst 2018-11-28 17:08:10 -06:00
index.rst Add tests and docs for model patterns 2018-05-28 16:15:47 -07:00
internals.rst Don't let HySymbol inherit from HyString 2018-05-20 14:11:35 -07:00
interop.rst Fix an example in interop.rst 2018-12-29 19:57:18 -05:00
model_patterns.rst Add tests and docs for model patterns 2018-05-28 16:15:47 -07:00
syntax.rst Make HyKeyword callable 2018-07-24 09:19:37 -07:00