Message76294
I am using windows xp(sp3),chinese simplified.I found that in os
module,os.getenv('PATH') return different result between python 2.5 and
3.0rc3.py2.5's result is the same as the path command's result.
path command's result:
PATH=C:\Tcl\bin;C:\oracle\product\10.2.0\db_1
\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program
Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7
\Projects\Bpl\;C:\Program Files\Java\jdk1.7.0\bin;C:\Python25
\;C:\Python30\;...
py2.5's result:
C:\Tcl\bin;C:\oracle\product\10.2.0\db_1
\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program
Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7
\Projects\Bpl\;C:\Program Files\Java\jdk1.7.0\bin;C:\Python25
\;C:\Python30\;...
py3.0rc3's result:
C:\Python25\;C:\Tcl\bin;C:\oracle\product\10.2.0\db_1
\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program
Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7
\Projects\Bpl\;C:\Program Files\Java\jdk1.7.0\bin;C:\Python25
\;C:\Python30\;...
you can see that python3.0 gets extra element "C:\Python25\",which is
first. Is it a bug or something? thanks. |
|
Date |
User |
Action |
Args |
2008-11-24 02:21:01 | clive | set | recipients:
+ clive |
2008-11-24 02:21:01 | clive | set | messageid: <1227493261.31.0.743303269102.issue4402@psf.upfronthosting.co.za> |
2008-11-24 02:21:00 | clive | link | issue4402 messages |
2008-11-24 02:20:59 | clive | create | |
|