Change by Irit Katriel :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Popen should raise ValueError if pass a string when shell=False
or a list when shell=True
___
Python tracker
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
type: - feature request
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
___
anatoly techtonik techto...@gmail.com added the comment:
List not only needs to be joined, it should be quoted as well. But the biggest
problem will be the change of behavior between Python versions which may
confuse users even more.
Perhaps it's a good time to start embedding 'best practice'
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I don't think you can tighten the API at this point. We could however make
Popen complain when options are going to be thrown away. Or it could be made
more liberal about what is accepts (running shlex on string input or join
New submission from anatoly techtonik techto...@gmail.com:
subprocess.Popen(args, shell=shell) is implicitly inconsistent on Unix:
1. when shell=False, the args should be a list or you'll lose program options
2. when shell=True, the args should be a string or your program options will
be
STINNER Victor victor.stin...@haypocalc.com added the comment:
Did you read the issue #7839?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
___
Changes by Ross Lagerwall rosslagerw...@gmail.com:
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
___
___
anatoly techtonik techto...@gmail.com added the comment:
No. I won't be fixed in 2.7 anyway, and if it can not be fixed, it should be
documented at least.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
anatoly techtonik techto...@gmail.com added the comment:
Oh, sorry - my attention span is limited under time pressure. #7839 is related,
of course. There is a lot of comments, so I'll take a look at it later.
--
___
Python tracker
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13197
___
11 matches
Mail list logo