Message123246
Ah, I did not realize that getstatusoutput was implemented using os.popen. I thought it already used Popen. Now, in python3, os.popen is in turn implemented using subprocess.Popen, so removing that level of indirection seems sensible.
The question that remains is, does removing the {} change the output obtained from a command sequence in any way?
Note that for backward compatibility you will need to re-munge the status code into C format. Which makes me wonder if getoutput/getstatusoutput should just be documentationally deprecated instead. (I never use them myself, FWIW) |
|
Date |
User |
Action |
Args |
2010-12-03 13:53:45 | r.david.murray | set | recipients:
+ r.david.murray, vstinner, eric.araujo, brian.curtin, jldm |
2010-12-03 13:53:45 | r.david.murray | set | messageid: <1291384425.87.0.327206190455.issue10197@psf.upfronthosting.co.za> |
2010-12-03 13:53:44 | r.david.murray | link | issue10197 messages |
2010-12-03 13:53:43 | r.david.murray | create | |
|