Guido van Rossum wrote: > [Gordon] > > [MAL] > > > > Since string.py is being depreciated, I think we should > > > > consider a new landmark (such as os.py) or maybe even a > > > > whole new strategy for finding the standard lib location. > > [GvR] > > > I don't see a need for a new strategy > > > > I'll argue for (a choice of) new strategy. > > 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. 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 ?! [An of course the landmark should change to something like os.py -- I'll try to submit a patch for this.] -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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