From: Georg Brandl Date: Wed, 24 Aug 2005 07:31:33 +0000 (+0000) Subject: bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows X-Git-Tag: v2.5a0~1471 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79c122f568d1d08779d564cee375d62a0ea114db;p=python bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows --- diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index cfc17d1bc4..43b8db2420 100644 --- a/Doc/lib/libsite.tex +++ b/Doc/lib/libsite.tex @@ -17,8 +17,8 @@ It starts by constructing up to four directories from a head and a tail part. For the head part, it uses \code{sys.prefix} and \code{sys.exec_prefix}; empty heads are skipped. For the tail part, it uses the empty string (on Windows) or -it uses first \file{lib/python\shortversion/site-packages} and then -\file{lib/site-python} (on \UNIX and Macintosh). For each of the distinct +\file{lib/python\shortversion/site-packages} (on \UNIX{} and Macintosh) +and then \file{lib/site-python}. For each of the distinct head-tail combinations, it sees if it refers to an existing directory, and if so, adds it to \code{sys.path} and also inspects the newly added path for configuration files. diff --git a/Misc/NEWS b/Misc/NEWS index 88cd9856f8..b59c7dd776 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -456,6 +456,8 @@ Tests Documentation ------------- +- Bug #1190204: Clarify which directories are searched by site.py. + - Bug #1193849: Clarify os.path.expanduser() documentation. - Bug #1243192: re.UNICODE and re.LOCALE affect \d, \D, \s and \S.