[Python-Dev] .pth files in current or script directory (original) (raw)

Jeff Epler jepler at unpythonic.net
Thu May 13 21:44:13 EDT 2004


I'm -NFS against reading .pth files from the current directory. When a directory is large and is on a remote filesystem, enumerating it at startup can really kill time -- heck, just putting an NFS directory with a handful of entries in PYTHONPATH can slow Python's startup time considerably, now imagine that you "cd /nfs/directory_with_1000_files" and "time python -c 'pass'" .. blah!

Jeff



More information about the Python-Dev mailing list