hy/tests/importer
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
..
__init__.py Very broken. 2013-03-03 19:40:46 -05:00
test_importer.py hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
test_pyc.py The b prefix works since python2.6 2013-04-13 21:46:17 +02:00