[issue6636] Non-existant directory in sys.path prevents further imports

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6636] Non-existant directory in sys.path prevents further imports

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina added the comment: Looks like an optimization for the common case when directories aren't created "on the fly". Your proposal would slow down all imports (a typical sys.path actually contains a few nonexisting directories). Quoting PEP302: The results of path hook check

[issue6636] Non-existant directory in sys.path prevents further imports

2009-08-03 Thread Charles Mason
New submission from Charles Mason : Steps to reproduce: 1) Add to sys.path a path that does not exist 2) Import a module, any module. This invokes get_path_importer over every element of sys.path. The NullImporter __init__ method is called and an instance created for each non-existing path ele