[PEAK] Exceptions in lazy imported module not reported

Vinj Vinj vinjvinj at yahoo.com
Sun Dec 24 12:16:41 EST 2006


> 
> map(lazyModule, ['pkg1.module1', ...])
> 

Just changed everything. Works wonderfully. 

> Also, you probably want sys.meta_path.insert(0,
> LazyImporter(...)) instead 
> of append, so that the lazy importer takes

Do I still need this if I'm using map(lazyModule
....)?

One more quick question: 

Is there any downside (besides the exception not being
caught) of using lazyModule? I'm using it quite
extensively all over my application. 

Thanks,

Vineet


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the PEAK mailing list