mirror of
https://github.com/python/cpython.git
synced 2025-11-09 10:01:42 +00:00
Add an XXX comment and a pointer to a full bug report.
This commit is contained in:
parent
73a088e3fa
commit
e80c0d3580
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ def makepath(*paths):
|
||||||
|
|
||||||
# Append ./build/lib.<platform> in case we're running in the build dir
|
# Append ./build/lib.<platform> in case we're running in the build dir
|
||||||
# (especially for Guido :-)
|
# (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":
|
if os.name == "posix" and os.path.basename(sys.path[-1]) == "Modules":
|
||||||
from distutils.util import get_platform
|
from distutils.util import get_platform
|
||||||
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
|
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue