[issue3719] platform.py: _syscmd_file() can't handle target path with space or special shell character

Hirokazu Yamamoto report at bugs.python.org
Tue Sep 2 12:55:59 CEST 2008


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

Well, if python was installed into directory named
"foo ELF boo", python will say wrong architecture.

>>> import platform
>>> platform.architecture()
('32bit', 'ELF')

Is it not good to use "file -b" option?

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


More information about the Python-bugs-list mailing list