Commit Graph

8 Commits

Author SHA1 Message Date
Jeremy Hylton 847a9968e9 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.
2000-05-26 21:49:07 +00:00
Guido van Rossum e8afe516ab New set of files for the OS/2 port by Jeff Rush. 1998-09-28 22:02:40 +00:00
Guido van Rossum 28700c464a Use Py_GetPythonHome() instead of getenv("PYTHONHOME"). 1998-07-27 13:49:04 +00:00
Guido van Rossum eea714aed4 As Jeff painfully found out, malloc(0) returns NULL on OS/2. 1998-01-11 18:02:19 +00:00
Guido van Rossum d0ec7616ea Copy the change from ../getpathp.c here. 1997-12-11 15:21:33 +00:00
Guido van Rossum a34c31352b New batch of patches by Jeff Rush; moved his readme.txt portion here. 1997-12-05 22:07:14 +00:00
Guido van Rossum 465f71d052 Done a sort -u on the symbols (and replaced all tabs with spaces). 1997-11-24 15:54:24 +00:00
Guido van Rossum 50d4cc2f1d Files specific to Visual Age C for OS/2 -- by Jeff Rush 1997-11-22 21:59:45 +00:00