From 79c122f568d1d08779d564cee375d62a0ea114db Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 24 Aug 2005 07:31:33 +0000 Subject: [PATCH] bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows --- Doc/lib/libsite.tex | 4 ++-- Misc/NEWS | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libsite.tex b/Doc/lib/libsite.tex index cfc17d1bc45..43b8db2420d 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 88cd9856f8b..b59c7dd7762 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.