python24.zip

Robin Becker robin at reportlab.com
Mon May 23 14:17:49 EDT 2005


Martin v. Löwis wrote:
....
> 
> 
> Now I remember what makes this stuff really difficult: PEP 302
> introduces path hooks (sys.path_hooks), allowing imports from
> other sources than files. So the items on sys.path don't have
> to be directory or file names at all, and importing from them
> may still succeed if though stat fails.
.... so is there implication of multiplicative behaviour?

ie if we have N importers and F leading failure syspath entries before the 
correct one is found do we get order N*F failed stats/opens etc etc?

-- 
Robin Becker




More information about the Python-list mailing list