hy/hy/contrib
Brandon T. Willard 87a5b117a1 Implement new importer using PEP-302 semantics
Python 3.x is patched in a way that integrates `.hy` source files into
Pythons default `importlib` machinery.  In Python 2.7, a PEP-302 "importer"
and "loader" is implemented according to the standard `import` logic (via
`pkgutil` and later pure-Python `imp` package code).

In both cases, the entry-point for the loaders is through `sys.path_hooks` only.
As well, the import semantics have been updated all throughout to utilize
`importlib` and follow aspects of PEP-420.  This, along with some light
patches, should allow for basic use of `runpy`, `py_compile` and `reload`.

In all cases, if a `.hy` file is shadowed by a `.py`, Hy will silently use
`.hy`.
2018-08-25 22:50:38 -05:00
..
__init__.py Adding in meth 2013-03-27 22:19:27 -04:00
botsbuildbots.hy fix botsbuildbots for #1582 2018-05-06 19:55:16 -06:00
hy_repr.hy Fix date and time hy-reprs on Windows 2018-08-08 09:26:20 -04:00
loop.hy Update copyright years 2018-01-01 10:38:33 -05:00
multi.hy Merge pull request #1473 from Kodiologist/new-year-2018 2018-02-05 15:11:59 +02:00
profile.hy Update copyright years 2018-01-01 10:38:33 -05:00
sequences.hy Update uses of the old comprehension forms 2018-06-13 17:31:08 -07:00
walk.hy Implement new importer using PEP-302 semantics 2018-08-25 22:50:38 -05:00