This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gbloisi
Recipients gbloisi
Date 2007-11-12.23:54:47
SpamBayes Score 0.048432793
Marked as misclassified No
Message-id <1194911688.74.0.067622667348.issue1431@psf.upfronthosting.co.za>
In-reply-to
Content
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.
Files
File name Uploaded
site.py.patch gbloisi, 2007-11-12.23:54:48
History
Date User Action Args
2007-11-12 23:54:48gbloisisetspambayes_score: 0.0484328 -> 0.048432793
recipients: + gbloisi
2007-11-12 23:54:48gbloisisetspambayes_score: 0.0484328 -> 0.0484328
messageid: <1194911688.74.0.067622667348.issue1431@psf.upfronthosting.co.za>
2007-11-12 23:54:48gbloisilinkissue1431 messages
2007-11-12 23:54:48gbloisicreate