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 brett.cannon
Recipients brett.cannon, gbloisi
Date 2007-11-13.19:00:19
SpamBayes Score 0.0048008333
Marked as misclassified No
Message-id <1194980420.37.0.233630905391.issue1431@psf.upfronthosting.co.za>
In-reply-to
Content
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 form package.pth
and exists in one of the four directories mentioned above".  So the
"newly added path" is the four paths mentioned in that paragraph (e.g.,
the ones that involve sys.prefix and sys.exec_prefix.

So the docs do not suggest that any recursive check is done, nor does it
need to worry about pre-existing directories.  It just needs to check
site-packages locations and site-python.

If site.py is not checking those directories, it is a bug, otherwise I
think the current behaviour matches the documentation.
History
Date User Action Args
2007-11-13 19:00:20brett.cannonsetspambayes_score: 0.00480083 -> 0.0048008333
recipients: + brett.cannon, gbloisi
2007-11-13 19:00:20brett.cannonsetspambayes_score: 0.00480083 -> 0.00480083
messageid: <1194980420.37.0.233630905391.issue1431@psf.upfronthosting.co.za>
2007-11-13 19:00:20brett.cannonlinkissue1431 messages
2007-11-13 19:00:19brett.cannoncreate