On 2017-09-10, Neil Schemenauer wrote:
> I have something 90% working, only 90% left to go. ;-)

Prototype:

https://github.com/warsaw/lazyimport/blob/master/lazy_demo.py
https://github.com/nascheme/cpython/tree/exec_mod

Next step is to do the compiler and change importlib to do
exec(code, module) rather than exec(code, module.__dict__).
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to