]> granicus.if.org Git - python/commit
Patch from M.-A. Lemburg:
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 26 May 2000 21:49:07 +0000 (21:49 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 26 May 2000 21:49:07 +0000 (21:49 +0000)
commit847a9968e9289376d47e87ecdd374d280016bd8a
treeb847391964c150e58c282045e5f5c6a4e57cdac5
parentb80a77785943617f091bc85bc387cdc633be17e2
Patch from M.-A. Lemburg:
Python on UNIX now trusts PYTHONHOME unconditionally

Modules/getpath.c:

Landmark changed to os.py.

Setting PYTHONHOME now unconditionally sets sys.prefix
(and sys.exec_prefix). No further checks are done whether the
standard lib can be found in that location or not. This is in
sync with the PC subdir getpath implementations.

PC/getpathp.c:

Landmark changed to os.py.

PC/os2vacpp/getpathp.c:

Landmark changed to os.py.

Note: BAW's checkin on exceptions.c eliminates earlier concerns about
a bogus PYTHONHOME value leading to a core dump.  Instead it causes a
useless sys.path and prevents imports.
Modules/getpath.c
PC/getpathp.c
PC/os2vacpp/getpathp.c