summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
Commit message (Collapse)AuthorAgeFilesLines
* Trent Mick: use size_t instead of int where appropriate (various spots).Guido van Rossum2000-06-281-9/+9
|
* Patch from M.-A. Lemburg:Jeremy Hylton2000-05-261-25/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-1/+1
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-1/+25
|
* When following symlinks to the real executable, use a loop so aGuido van Rossum1998-04-291-1/+2
| | | | | symlink to a symlink can work. (Jack)
* - Use Py_GetPythonHome() instead of getenv("PYTHONHOME").Guido van Rossum1998-02-061-2/+4
| | | | - Don't print error messages when Py_FrozenFlag is set.
* Instead of a single exists(), differentiate between files, modules,Guido van Rossum1998-01-191-13/+70
| | | | | executable files, and directories. When expecting a module, we also look for the .pyc or .pyo file.
* Remove "Lib/test" from the default path; this is now a package!Guido van Rossum1997-12-101-1/+0
|
* Change sharedmodules to lib-dynload.Guido van Rossum1997-10-201-6/+6
| | | | ### If you still have sharedmodules in your Modules/Setup file, remove it! ###
* Globally renamed join() to joinpath() to avoid compilation error on Cray.Guido van Rossum1997-08-201-22/+22
|
* Use string.h, not strings.hGuido van Rossum1997-06-021-1/+1
|
* Make delimiter and separator static for K&R C.Guido van Rossum1997-05-201-3/+11
|
* Keep gcc -Wall happy.Guido van Rossum1997-05-131-2/+2
|
* Another change suggested by Donn Cave -- forget "step 5", whichGuido van Rossum1997-05-121-21/+2
| | | | searches /usr/local, /usr and /.
* Fix problem reported by Donn Cave: if VPATH is an absolute path, itGuido van Rossum1997-05-121-18/+25
| | | | | would always be a hit. Prevent this by only using VPATH if we know we are in the build directory.
* Removed two unused static function: string_addsep() andBarry Warsaw1997-04-111-98/+61
| | | | | | | | | string_append(). These must be artifacts of GvR's rewrite. Fixed some typos in the leading comment (and re-filled the paragraphs). Hope you don't mind, Guido.
* Completely revamped the way the default path is constructed.Guido van Rossum1997-04-111-34/+531
| | | | | | | Idea and first three implementation rounds due to Barry -- after that I spent another day on it, hopefully it's enough for now :-) (Wait for the checkin to Setup.in.)
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Don't have "." in the default path.Guido van Rossum1996-07-301-2/+2
|
* provide access to $(exec_)prefixGuido van Rossum1996-06-121-0/+23
|
* grand renaming; added copyright to some filesGuido van Rossum1996-05-281-12/+32
|
* Include stdlib.h or declare getenvGuido van Rossum1996-02-251-0/+6
|
* Initial revisionGuido van Rossum1995-08-041-0/+41