[me] > > I'm not keen on changing the meaning of PYTHONPATH, but if you're > > willing and able to set an environment variable, you can set > > PYTHONHOME and it will abandon the search. If you want a command line > > option for CGI, an option to set PYTHONHOME makes sense. [MAL] > The routines will still look for the landmark though (which > is what surprised me and made me look deeper -- setting > PYTHONHOME didn't work for me because I had only .pyo files > in the lib/python1.5 dir). > > Perhaps Python should put more trust into the setting of > PYTHONHOME ?! Yes! Note that PC/getpathp.c already trusts PYTHONHOME 100% -- Modules/getpath.c should follow suit. > [An of course the landmark should change to something like > os.py -- I'll try to submit a patch for this.] Maybe you can combine the two? --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4