[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2010-12-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Looks like it is won't fix, since it hasn't been.  It doesn't seem as though 
it is our responsibility to clean up crud in the windows registry introduced by 
other distributions.

--
assignee: loewis - 
nosy: +r.david.murray
resolution:  - wont fix
stage:  - committed/rejected
status: open - closed
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2010-10-25 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
Removed message: http://bugs.python.org/msg76444

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-26 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:

(Clive's message was entirely in the HTML unnamed attachement)

Clive said:
 My python2.5 is from ActiveState, and python3.0 is the official.

Great.

But -- didn't you get the same behavior *before* installing python 3.0?
when python2.5 started from the run dialog box, didn't it get the same
addition to the PATH environment variable?

Martin: Could the msi installer remove the key named
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\App
Paths\python.exe\Path
when it is present? Or is this just a Won't fix issue?

--
assignee:  - loewis
nosy: +loewis

___
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



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-25 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:

Can you please check with the regedit application whether you have an
entry for the key:

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\App
Paths\python.exe

(this key is used when you type python in the Run dialog box)

What is its (Default) value?
Is there an additional entry named PATH?

(I presume that (Default)=C:\Python30\Python.exe, and PATH=C:\Python25\)

___
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



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-25 Thread 赵现刚

赵现刚 [EMAIL PROTECTED] added the comment:

YES! It is exactly what you assumed. 
 The default value is C:\Python30\Python.exe, and  there is also another 
entry path,its value is C:\Python25\.

Does that mean I should not start python from the Run dialog box? 

非常感谢您的回复! Subject: [issue4402] os.getenv('PATH') return different result 
between 2.5 and 3.0rc3 To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: 
Tue, 25 Nov 2008 08:24:21 +   Amaury Forgeot d'Arc [EMAIL PROTECTED] 
added the comment:  Can you please check with the regedit application 
whether you have an entry for the key:  
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\App 
Paths\python.exe  (this key is used when you type python in the Run 
dialog box)  What is its (Default) value? Is there an additional entry 
named PATH?  (I presume that (Default)=C:\Python30\Python.exe, and 
PATH=C:\Python25\)  ___ Python tracker 
[EMAIL PROTECTED] http://bugs.python.org/issue4402 
___
_
MSN资讯快递,帮助你第一时间了解最新资讯!
http://im.live.cn/newsexpress

Added file: http://bugs.python.org/file12126/unnamed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4402
___html
head
style
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
/style
/head
body class='hmmessage'
YES! It is exactly what you assumed.nbsp;BR
nbsp;The default value is C:\Python30\Python.exeSTRONG, /STRONGandnbsp; 
there is also another entry path,its value is C:\Python25\.BR
nbsp;BR
Does that mean I should not start python from the Run dialog box? BR
nbsp;BR
非常感谢您的回复!BRBRgt; Subject: [issue4402] os.getenv('PATH') 
return different result between 2.5 and 3.0rc3BRgt; To: [EMAIL 
PROTECTED]BRgt; From: [EMAIL PROTECTED]BRgt; Date: Tue, 25 Nov 2008 
08:24:21 +BRgt; BRgt; BRgt; Amaury Forgeot d'Arc lt;[EMAIL 
PROTECTED]gt; added the comment:BRgt; BRgt; Can you please check with 
the regedit application whether you have anBRgt; entry for the 
key:BRgt; BRgt; 
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows\CURRENTVERSION\AppBRgt; 
Paths\python.exeBRgt; BRgt; (this key is used when you type python in 
the Run dialog box)BRgt; BRgt; What is its (Default) value?BRgt; 
Is there an additional entry named PATH?BRgt; BRgt; (I presume that 
(Default)=C:\Python30\Python.exe, and PATH=C:\Python25\)BRgt; BRgt; 
___BRgt; Python tracker lt;[EMAIL 
PROTECTED]gt;BRgt; lt;http://bugs.python.org/issue4402gt;BRgt; 
___BRBRbr /hr /使用新一代 
Windows Live Messenger 轻松交流和共享! a href='http://im.live.cn/' 
target='_new'立刻下载!/a/body
/html___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-25 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:

 Does that mean I should not start python from the Run dialog box? 
Not at all. Just remove the PATH entry and the inconsistency will 
disappear.

I just wonder how to explain the presence of this additional variable.

Which distribution of python did you install, the official one from 
www.python.org, or another one, from ActiveState for example?

___
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



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-25 Thread 赵现刚

赵现刚 [EMAIL PROTECTED] added the comment:

_
MSN热搜榜,每天最In的信息资讯和热点排行让您一览无余!
 http://top.msn.com.cn

Added file: http://bugs.python.org/file12131/unnamed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4402
___html
head
style
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
/style
/head
body class='hmmessage'
My python2.5 is from ActiveState, and python3.0 is the official.BR
BRBRgt; Subject: [issue4402] os.getenv('PATH') return different result 
between 2.5 and 3.0rc3BRgt; To: [EMAIL PROTECTED]BRgt; From: [EMAIL 
PROTECTED]BRgt; Date: Tue, 25 Nov 2008 20:59:15 +BRgt; BRgt; 
BRgt; Amaury Forgeot d'Arc lt;[EMAIL PROTECTED]gt; added the 
comment:BRgt; BRgt; gt; Does that mean I should not start python from 
the Run dialog box? BRgt; Not at all. Just remove the PATH entry and the 
inconsistency will BRgt; disappear.BRgt; BRgt; I just wonder how to 
explain the presence of this additional variable.BRgt; BRgt; Which 
distribution of python did you install, the official one from BRgt; 
www.python.org, or another one, from ActiveState for example?BRgt; BRgt; 
___BRgt; Python tracker lt;[EMAIL 
PROTECTED]gt;BRgt; lt;http://bugs.python.org/issue4402gt;BRgt; 
___BRBRbr /hr 
/更多热辣资讯尽在新版MSN首页! a href='http://cn.msn.com/' 
target='_new'立刻访问!/a/body
/html___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-24 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:

I cannot reproduce this. Python does not modify the environment variables.
How did you exactly start the python interpreters, 2.5 and 3.0?

--
nosy: +amaury.forgeotdarc

___
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



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-24 Thread 赵现刚

赵现刚 [EMAIL PROTECTED] added the comment:

I have installed both py2.5 and py3.0rc3. I got the result as follows:

1.py3.0  : from the windows start menu--run, type in python ,and py3.0 will 
startup(which I don't understand why),then execute 

import ossys_path=os.getenv('PATH')print(sys_path)
will get the result.

2.py2.5: First start the windows programme cmd, and then type in python, 
and py2.5 will startup,then  also execute the code 
import ossys_path=os.getenv('PATH')print(sys_path)
will get the result.

Thanks! Subject: [issue4402] os.getenv('PATH') return different result between 
2.5 and 3.0rc3 To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: Mon, 24 
Nov 2008 09:00:33 +   Amaury Forgeot d'Arc [EMAIL PROTECTED] added the 
comment:  I cannot reproduce this. Python does not modify the environment 
variables. How did you exactly start the python interpreters, 2.5 and 3.0?  
-- nosy: +amaury.forgeotdarc  
___ Python tracker [EMAIL PROTECTED] 
http://bugs.python.org/issue4402 ___
_
MSN资讯快递,帮助你第一时间了解最新资讯!
http://im.live.cn/newsexpress

Added file: http://bugs.python.org/file12125/unnamed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4402
___html
head
style
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
/style
/head
body class='hmmessage'
nbsp;nbsp;nbsp;nbsp; I have installed both py2.5 and py3.0rc3. I got the 
result as follows:BR
nbsp;BR
1.py3.0nbsp;nbsp;: from the windows start menu--gt;run, type in python 
,and py3.0 will startup(which I don't understand why),then execute BR
nbsp;BR
import osBRsys_path=os.getenv('PATH')BRprint(sys_path)BRBR
will get the result.BR
nbsp;BR
2.py2.5: First start the windows programme cmd, and then type in python, 
and py2.5 will startup,thennbsp; also execute the code BR
import osBRsys_path=os.getenv('PATH')BRprint(sys_path)BRBR
will get the result.BR
nbsp;BR
Thanks!BRBRgt; Subject: [issue4402] os.getenv('PATH') return different 
result between 2.5 and 3.0rc3BRgt; To: [EMAIL PROTECTED]BRgt; From: 
[EMAIL PROTECTED]BRgt; Date: Mon, 24 Nov 2008 09:00:33 +BRgt; 
BRgt; BRgt; Amaury Forgeot d'Arc lt;[EMAIL PROTECTED]gt; added the 
comment:BRgt; BRgt; I cannot reproduce this. Python does not modify the 
environment variables.BRgt; How did you exactly start the python 
interpreters, 2.5 and 3.0?BRgt; BRgt; --BRgt; nosy: 
+amaury.forgeotdarcBRgt; BRgt; 
___BRgt; Python tracker lt;[EMAIL 
PROTECTED]gt;BRgt; lt;http://bugs.python.org/issue4402gt;BRgt; 
___BRBRbr /hr /使用新一代 
Windows Live Messenger 轻松交流和共享! a href='http://im.live.cn/' 
target='_new'立刻下载!/a/body
/html___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4402] os.getenv('PATH') return different result between 2.5 and 3.0rc3

2008-11-23 Thread 赵现刚

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