Re: [Python-Dev] sys.path in interactive session

2005-06-02 Thread Phillip J. Eby
At 05:08 PM 6/2/2005 -0700, Bob Ippolito wrote: >On Jun 2, 2005, at 4:50 PM, Guido van Rossum wrote: > > > > I think that the "absolutizing" of sys.path entries is relatively new > > (seems to have started in 2.3). > > > > Also note that it's not really the current directory but the directory > > c

Re: [Python-Dev] sys.path in interactive session

2005-06-02 Thread Bob Ippolito
On Jun 2, 2005, at 4:50 PM, Guido van Rossum wrote: > On 6/2/05, Reinhold Birkenfeld [EMAIL PROTECTED]> wrote: > >> While looking at bug #779191, I saw that sys.path's first element >> is '' in interactive sessions, but the current dir otherwise. Is this >> intentional? >> > > I've always liked i

Re: [Python-Dev] sys.path in interactive session

2005-06-02 Thread Guido van Rossum
I've always liked it this way; using "" instead of "." means that if you os.path.join() it with a script name you don't get a spurious "./" prepended. I think that the "absolutizing" of sys.path entries is relatively new (seems to have started in 2.3). Also note that it's not really the current d

[Python-Dev] sys.path in interactive session

2005-06-02 Thread Reinhold Birkenfeld
While looking at bug #779191, I saw that sys.path's first element is '' in interactive sessions, but the current dir otherwise. Is this intentional? Reinhold -- Mail address is perfectly valid! ___ Python-Dev mailing list [email protected] http://