Questions about no more nested imports
Paul Prescod
paulp at ActiveState.com
Sun Mar 11 14:19:24 EST 2001
Dave LeBlanc wrote:
>
> I'm a bit confused by this.
>
> It appears that if this is enforced, one can no longer dynamically
> load extensions/whatever dynamically and all imports must be done at
> the top of a module prior to anticipated use - whether used or not. If
> this is true, then load times for python apps could go up drastically.
Nobody has proposed that nested imports be disallowed. The only form
that is disallowed is a nested form of "from X import *".
--
Python:
Programming the way
Guido
indented it.
- (originated with Skip Montanaro?)
More information about the Python-list
mailing list