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

Amaury Forgeot d'Arc report at bugs.python.org
Mon Sep 1 14:27:45 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> 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 a file
named "null", which content is "'file' is not recognized as an internal
or external command, operable program or batch file."
No comment.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3748>
_______________________________________


More information about the Python-bugs-list mailing list