[issue22635] subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)
Gregory P. Smith added the comment: If you want something API compatible that can be used in a Python 2 and 3 application that wants a getstatusoutput() API I think an appropriate place to put it would be to add a commands modules to https://pypi.python.org/pypi/past/ with a consistent getstatusoutput() API. Either there or something in https://pypi.python.org/pypi/six/. The inadvertent API difference between 2.7 commands.getstatusoutput() and 3.3.4 subprocess.getstatusoutput() is unfortunate but - I agree - too late to change. Fixing the documentation to mention the discrepancy is the least worst option. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue22635> _______________________________________
participants (1)
-
Gregory P. Smith