hy/tests
Bob Tolbert ffd85bcc3e Fixes a long-standing bug in import under Python 3.3 and later.
Our MetaImporter was being inserted at the end of sys.meta_path.
For Python prior to 3.3, this was fine since sys.meta_path
was empty by default. As of the completion of PEP 302 in Py3.3 and
later, there are several importers registered by default. One of
these was trying (and failing) to import simple Hy modules,
resulting in a failure to import anything inside __init__.hy.

This change simply inserts the Hy-specific importer at the front
of the list.

This was noted in issue #620 (great catch @algernon)
2014-12-07 11:02:48 -07:00
..
compilers Tests for explicit exception chaining 2014-05-01 16:33:10 -04:00
importer hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
lex Remove HyLambdaListKeyword from the parser 2014-06-03 21:36:49 -04:00
macros Add tests for _wrap_value 2014-09-21 12:08:14 -04:00
models Merge master onto pr/471 2014-01-30 21:50:23 +05:30
native_tests Fixes a long-standing bug in import under Python 3.3 and later. 2014-12-07 11:02:48 -07:00
resources Fixes a long-standing bug in import under Python 3.3 and later. 2014-12-07 11:02:48 -07:00
__init__.py Merge branch 'master' into pr/579 2014-11-15 08:02:41 -05:00
test_bin.py Implement -m command line flag to run a module by name 2014-11-26 09:13:45 -07:00