[issue1431] pth files not loaded at startup

2007-11-16 Thread Brett Cannon
Brett Cannon added the comment: Fixed in r59033 for Python 2.6. Thanks for the help! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1431] pth files not loaded at startup

2007-11-15 Thread Giambattista Bloisi
Giambattista Bloisi added the comment: Please find attached a patch for http://docs.python.org/dev/install/index.html. I think removing a statement is enough to make things clear. About darwin additional directories I'm unsure whether it need further documentation as it seems very platform-relate

[issue1431] pth files not loaded at startup

2007-11-13 Thread Gabriel Genellina
Changes by Gabriel Genellina: -- nosy: +gagenellina __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue1431] pth files not loaded at startup

2007-11-13 Thread Brett Cannon
Brett Cannon added the comment: I have made this a documentation bug as obviously there is some needed clarification in how .pth files are handled. If you have any suggested wording, Giambattista, then please feel free to submit patches against the 2.6 docs (easier to work with since they are in

[issue1431] pth files not loaded at startup

2007-11-13 Thread Giambattista Bloisi
Giambattista Bloisi added the comment: This make sense. I hope I'm not annoying you. But what I did was to read (http://docs.python.org/inst/search-path.html) before reading (http://docs.python.org/dev/library/site.html#module-site) as the latter is referenced by the first via a html link. The

[issue1431] pth files not loaded at startup

2007-11-13 Thread Brett Cannon
Brett Cannon added the comment: For what you meant by recursion, that makes more sense. But as for whether this is correct or not, read the next paragraph in the site docs (http://docs.python.org/dev/library/site.html#module-site). It says "A path configuration file is a file whose name has the

[issue1431] pth files not loaded at startup

2007-11-13 Thread Giambattista Bloisi
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

[issue1431] pth files not loaded at startup

2007-11-13 Thread Brett Cannon
Brett Cannon added the comment: While I am not sure how I feel about searching every entry on sys.path, I know I don't like the idea of recursing the directory tree. pth files are meant to only be at the top-level of a directory that packages and modules are checked for. -- nosy: +brett

[issue1431] pth files not loaded at startup

2007-11-12 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1431] pth files not loaded at startup

2007-11-12 Thread Giambattista Bloisi
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 p