3 ms·
I think you are correct, they monkey-patched importlib https://github.com/hylang/hy/blob/master/hy/importer.py#L132 https://github.com/hylang/hy/blob/master/hy
by greenshackle2 7y ago
I think you are correct, they monkey-patched importlib
https://github.com/hylang/hy/blob/master/hy/importer.py#L132 https://github.com/hylang/hy/blob/master/hy/importer.py#L132
- btwillard 7y agoAs I recall, patching was simply the most expedient approach. Otherwise, for the changes we needed to make, we would've had to copy a lot of source from the standard loader implementation in CPython for only a few simple changes. https://github.com/hylang/hy/pull/1672 https://github.com/hylang/hy/pull/1672