hy/tests
Gergely Nagy 6c846a24b1
hy/compiler.py: import only handles HySymbol and HyList, bail on others
When (import) encounters anything but a HySymbol or HyList, raise an
exception, as that is not valid in Hy. Previously, anything other than a
HySymbol or HyList was simply ignored, turning that particular import
into a no-op, which was both wrong and confusing.

Reported-by: Richard Parsons <richard.lee.parsons@gmail.com>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2014-02-11 17:29:50 +01:00
..
compilers Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
importer hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
lex Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
macros Hy reader macros #377 2013-12-23 14:33:51 +01:00
models Merge master onto pr/471 2014-01-30 21:50:23 +05:30
native_tests hy.contrib.walk: Add support for walking cons cells 2014-02-01 18:36:57 +01:00
resources Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
__init__.py hy.contrib.walk: New contrib module for walking the Hy AST 2014-02-01 18:34:12 +01:00
test_bin.py Merge branch 'master' into pr/440 2014-01-17 20:20:39 +01:00