[issue1431] pth files not loaded at startup

Giambattista Bloisi report at bugs.python.org
Tue Nov 13 09:33:10 CET 2007


Giambattista Bloisi added the comment:

What I meant for recursively was not to scan the full directory tree,
but just to scan entries that have been added to the os.path. I think
that this was the original intention as
http://docs.python.org/inst/search-path.html states:
"Any directories added to the search path will be scanned in turn for
.pth files". 
Also http://docs.python.org/lib/module-site.html states:
"For each of the distinct head-tail combinations, it sees if it refers
to an existing directory, and if so, adds it to sys.path and also
inspects the newly added path for configuration files."

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1431>
__________________________________


More information about the Python-bugs-list mailing list