summaryrefslogtreecommitdiffstats
path: root/Lib/site.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-25 20:13:03 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-25 20:13:03 (GMT)
commite80c0d35808000a783f8cc667c8841f7aa0b1ad6 (patch)
tree5e43b821fc8bc36cf7e22c1137dfeb9fec8c6a08 /Lib/site.py
parent73a088e3fafbfc8b925163a3b0aa626830d26aa0 (diff)
downloadcpython-e80c0d35808000a783f8cc667c8841f7aa0b1ad6.zip
cpython-e80c0d35808000a783f8cc667c8841f7aa0b1ad6.tar.gz
cpython-e80c0d35808000a783f8cc667c8841f7aa0b1ad6.tar.bz2
Add an XXX comment and a pointer to a full bug report.
Diffstat (limited to 'Lib/site.py')
-rw-r--r--Lib/site.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/site.py b/Lib/site.py
index 23c12a0..a6ffb59 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -92,6 +92,8 @@ del dir, dircase, L
# Append ./build/lib.<platform> in case we're running in the build dir
# (especially for Guido :-)
+# XXX This should not be part of site.py, since it is needed even when
+# using the -S option for Python. See http://www.python.org/sf/586680
if os.name == "posix" and os.path.basename(sys.path[-1]) == "Modules":
from distutils.util import get_platform
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)