[Python-Dev]
Re: [Python-checkins] python/dist/src/Lib site.py, 1.58, 1.59
Just van Rossum
just at letterror.com
Sun Mar 21 02:58:36 EST 2004
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
>
More information about the Python-Dev
mailing list