[issue15585] usage of os.popen in standard library

2012-08-08 Thread R. David Murray
R. David Murray added the comment: There is already an open issue for this, with a (partial?) patch. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> os.popen documentation is probably wrong

[issue15585] usage of os.popen in standard library

2012-08-07 Thread Ramchandra Apte
Ramchandra Apte added the comment: Sorry, os.py:# Supply os.popen() should not be in the list. -- ___ Python tracker ___ ___ Python-bu

[issue15585] usage of os.popen in standard library

2012-08-07 Thread Ramchandra Apte
New submission from Ramchandra Apte: The following standard library modules use os.popen which is deprecated. These calls should be replaced with calls to subprocess.Popen . Ironically, even the subprocess module uses os.popen! webbrowser.py:osapipe = os.popen("osascript", "w") webbro