[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto [EMAIL PROTECTED]: As title, platform.architecture() prints vogus messege. import platform platform.architecture() 指定されたパスが見つかりません。 ('32bit', 'WindowsPE') It says speicied path is not found. -- components: Library (Lib) messages: 72227 nosy:

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: This difference between trunk and py3k would go down to this. import os os.popen(r'file e:\python-dev\py3k\PC\VC6\python_d.exe 2 /dev/null') trunk prints nothing, but py3k prints that message. I don't know which is popen's correct

[issue3748] [py3k] platform.architecture() prints vogus messege on windows

2008-09-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The call to _syscmd_file() should be avoided on windows platforms: - the file program does not exist - the stderr is redirected to /dev/null, which does not necessarily exists! On my machine, there is a c:\dev directory. Now it contains