[New-bugs-announce] [issue1431] pth files not loaded at startup
report at bugs.python.org
Tue Nov 13 00:54:48 CET 2007
New submission from Giambattista Bloisi:
site.py ha two limitations that make difficult to use pth files on my
linux installation (gobolinux):
- it does not process pth files that are located in directories that are
already present in os.path at the time the main method is invoked
- it does not process directory recursively
Please find attached a patch that solves both. Basically known_paths
became a set representing the directories that have been processed.
Duplicates in os.path are avoided by looking directly into it.
components: Library (Lib)
title: pth files not loaded at startup
versions: Python 2.5
Added file: http://bugs.python.org/file8739/site.py.patch
Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1047 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071112/adc9ecac/attachment.obj
More information about the New-bugs-announce