[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

Larry Hastings report at bugs.python.org
Tue Jun 8 23:45:39 CEST 2010


Larry Hastings <larry at hastings.org> added the comment:

Zsolt: an excellent idea!  That shouldn't change the semantics of the function, and therefore is strictly a bug fix.  Which means we could potentially backport it, yes?

Obviously we only need to change it between string / list if we're going to have this problem, and that only happens when there are parameters.  So the change could be very narrow in scope.  Lovely!

R. David: Why did you remove Python 2.7 from the list?  We see the behavior there too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7839>
_______________________________________


More information about the Python-bugs-list mailing list