Author r.david.murray
Recipients Anastasia.Filatova, docs@python, ezio.melotti, loewis, r.david.murray, techtonik, terry.reedy
Date 2014-03-12.14:20:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394634019.61.0.815791874639.issue19060@psf.upfronthosting.co.za>
In-reply-to
Content
Terry: good point.  popen did become undeprecated, however, its implementation was replaced by calls to subprocess.  The reason it is kept is that it is an easy shorthand for various common operations...that is, it is a convenience function, even though it lives in the os module for historical reasons.

So, the 2.7 list is correct (popen still uses the syscall there), and the python3 list is correct (popen is fine to use in python3).  It is perhaps worth mentioning that os.popen is a convenience function in the subprocess docs, but I'm not sure where to put it.  (I see that the popen docs also need updating, but that should be a separate issue, if someone wants to create it.)

Anastasia: thanks, that patch looks good to me.
History
Date User Action Args
2014-03-12 14:20:19r.david.murraysetrecipients: + r.david.murray, loewis, terry.reedy, techtonik, ezio.melotti, docs@python, Anastasia.Filatova
2014-03-12 14:20:19r.david.murraysetmessageid: <1394634019.61.0.815791874639.issue19060@psf.upfronthosting.co.za>
2014-03-12 14:20:19r.david.murraylinkissue19060 messages
2014-03-12 14:20:19r.david.murraycreate