e468d5f081
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. |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
contrib | ||
extra | ||
language | ||
.gitignore | ||
conf.py | ||
coreteam.rst | ||
hacking.rst | ||
index.rst | ||
make.bat | ||
Makefile | ||
quickstart.rst | ||
style-guide.rst | ||
tutorial.rst |