[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ff7aa9a438f by R David Murray in branch '2.7': #24998: fix cut and paste error in subprocess example. https://hg.python.org/cpython/rev/0ff7aa9a438f New changeset 47e711a7416b by R David Murray in branch '3.4': #24998: fix cut and paste error in

[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-04 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. I'm surprised that hasn't been noticed before. I'm also wondering why the 'shell=True' was removed from the example in the python3 docs (and why whoever did that didn't notice the bug :), but that would be a separate issue (someone

[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-04 Thread eryksun
Changes by eryksun : -- keywords: +easy priority: normal -> low versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-03 Thread Paul Clarke
New submission from Paul Clarke: in "subprocess" module documentation has a section for "replacing older functions with subprocess", specifically 17.1.4.5 "replacing os.popen", which includes the example on "return code handling", specifically this line: -- process = Popen("cmd", 'w',