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

STINNER Victor report at bugs.python.org
Fri Oct 5 00:11:28 CEST 2012


STINNER Victor added the comment:

Reopen: test_platform is failing. Attached patch should fix the issue. It fixes a theoric "deadlock" issue in _syscmd_file: use proc.communicate() instead of proc.stdout.read().

----------
resolution: fixed -> 
Added file: http://bugs.python.org/file27427/platform.patch

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


More information about the Python-bugs-list mailing list