Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icebraining
on Nov 21, 2014
|
parent
|
context
|
favorite
| on:
How Hy backported “yield from” to Python 2
The Python interpreter has support for custom code loaders, so you can use the new macro using plain Python, as long as the macro machinery is loaded before the other code to set it up.
See importlib:
https://docs.python.org/3.1/library/importlib.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
See importlib: https://docs.python.org/3.1/library/importlib.html