[Python-ideas] lazy import via __future__ or compiler analysis

Neil Schemenauer nas-python-ideas at arctrix.com
Fri Sep 8 12:36:04 EDT 2017


On 2017-09-09, Chris Angelico wrote:
> Laziness has to be complete - or, looking the other way, eager
> importing is infectious. For foo to be lazy, bar also has to be lazy;

Not with the approach I'm proposing.  bar will be loaded in non-lazy
fashion at the right time, foo can still be lazy.


More information about the Python-ideas mailing list