New submission from 赵现刚 <[EMAIL PROTECTED]>: 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. ---------- components: Library (Lib) files: path_result.txt messages: 76294 nosy: clive severity: normal status: open title: os.getenv('PATH') return different result between 2.5 and 3.0rc3 versions: Python 3.0 Added file: http://bugs.python.org/file12116/path_result.txt _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4402> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com