[Python-checkins] r52292 - sandbox/trunk/import_in_py/importer.py

Nick Coghlan ncoghlan at gmail.com
Sat Oct 14 03:32:54 CEST 2006


Brett Cannon wrote:
> On 10/13/06, *Nick Coghlan* <ncoghlan at gmail.com 
> <mailto:ncoghlan at gmail.com>> wrote:
>     Go with the generalization - there are existing application toolkits
>     like PEAK
>     that use lazy importing to avoid slowing startup to a crawl (by
>     deferring the
>     actual import until the first time someone attempts to access the
>     module's
>     namespace).
> 
> Fine with me.  It might change semantics in some odd way, though, so it 
> might be a Py3K change.

I may have misunderstood what you meant by generalise... ah well, I'll wait 
and see what you come up with - I like what I've seen on this branch so far :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list