Message57432
| 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:48 | gbloisi | set | spambayes_score: 0.0484328 -> 0.048432793 recipients:
+ gbloisi |
| 2007年11月12日 23:54:48 | gbloisi | set | spambayes_score: 0.0484328 -> 0.0484328 messageid: <1194911688.74.0.067622667348.issue1431@psf.upfronthosting.co.za> |
| 2007年11月12日 23:54:48 | gbloisi | link | issue1431 messages |
| 2007年11月12日 23:54:48 | gbloisi | create |
|