[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

STINNER Victor report at bugs.python.org
Fri Oct 5 09:18:03 CEST 2012


STINNER Victor added the comment:

> You can use subprocess in platform for Python 2.7, but only if
> it's available. Otherwise the module must fall back to the
> portable popen() that comes with the platform module.

Marc-Andre: I still don't understand why you want to run platform.py
of Python 2.7 on older Python version? How does it happen? I expected
Python 2.3 to use its own version of platform.py.

----------

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


More information about the Python-bugs-list mailing list