PYTHONDIR and sys.path

Jeffrey Holle <[email protected]> Thu, 08 Jul 2004 07:43:38 -0400
Newsgroups gmane.comp.python.compiler
Message-ID <[email protected]>
I'm using python v2.3.3 on a linux box.

I've just observed something that looks wrong.

I have the PYTHONPATH environment variable defined to add an application 
  specific component to the python search path.

In printing sys.path, I notice that it gets copied to both the first and 
second elements of this list.

Why twice?