This checkin is not correct: the change behavior from 2.2 to 2.3 was done for a reason (PEP 302), and should not be reversed. See also http://python.org/sf/693255 Just bcannon at users.sourceforge.net wrote: > Update of /cvsroot/python/python/dist/src/Lib > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2040/Lib > > Modified Files: > site.py > Log Message: > Remove non-existent paths. > > > Index: site.py > =================================================================== > RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v > retrieving revision 1.58 > retrieving revision 1.59 > diff -C2 -d -r1.58 -r1.59 > *** site.py 20 Mar 2004 21:08:17 -0000 1.58 > --- site.py 20 Mar 2004 21:31:32 -0000 1.59 > *************** > *** 80,84 **** > # paths. > dir, dircase = makepath(dir) > ! if not dircase in _dirs_in_sys_path: > L.append(dir) > _dirs_in_sys_path[dircase] = 1 > --- 80,84 ---- > # paths. > dir, dircase = makepath(dir) > ! if not dircase in _dirs_in_sys_path and os.path.exists(dir): > L.append(dir) > _dirs_in_sys_path[dircase] = 1 > > > _______________________________________________ > Python-checkins mailing list > Python-checkins at python.org > http://mail.python.org/mailman/listinfo/python-checkins >
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