[Python-bugs-list] [ python-Bugs-693255 ] 2.3a2 site.py non-existing dirs

SourceForge.net noreply@sourceforge.net
Tue, 25 Feb 2003 19:08:12 -0800


Bugs item #693255, was opened at 2003-02-25 17:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=693255&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: James P Rutledge (jrut)
>Assigned to: Just van Rossum (jvr)
Summary: 2.3a2 site.py non-existing dirs

Initial Comment:
In Python 2.3a2 the site.py leaves non-existing
directories in sys.path.

On my Debian Linux system, using Python 2.3a2,
the sys.path, after site.py is executed during
interpreter initialization, includes the entry

   /usr/local/lib/python23.zip

although no such directory currently exists on
my system.

The module documentation contained in site.py does
state

  "Non-existing directories (or non-directories)
  are never added to sys.path"


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-25 22:08

Message:
Logged In: YES 
user_id=33168

Just, does the doc still need to be updated?

----------------------------------------------------------------------

Comment By: James P Rutledge (jrut)
Date: 2003-02-25 21:56

Message:
Logged In: YES 
user_id=720847

Additional info -- the site.py used in
Python 2.2.2 explicitly removes non-existing
and non-directory files from sys.path.

The Python 2.3 site.py does not have that
feature.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=693255&group_id=5470