Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-09-02 12:55, Hirokazu Yamamoto wrote: > Hirokazu Yamamoto <[EMAIL PROTECTED]> 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?
Well, I'd say that install path is rather unlikely to occur in real life ;-) I'm not sure how wide-spread support for the -b option is, so we'd have to check during the next release cycle. ---------- title: platform.py: _syscmd_file() can't handle target path with space or special shell character -> platform.py: _syscmd_file() can't handle target path with space or special shell character _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3719> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com