Changes by Jean-Paul Calderone exar...@divmod.com:
Added file: http://bugs.python.org/file14839/subprocess-conversion-doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
Jean-Paul Calderone exar...@divmod.com added the comment:
Ah, thanks for the clarification, Philip. I've attached another patch
updating those docs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
Philip Jenvey pjen...@users.sourceforge.net added the comment:
The subprocess docs (in Doc/library/subprocess.rst and the module itself)
need to also reflect this change
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone exar...@divmod.com added the comment:
Hey Philip,
I'm not sure I follow. The patch only changes the os module, not the
subprocess module. What subprocess documentation do you think needs to
be updated?
--
___
Python tracker
Philip Jenvey pjen...@users.sourceforge.net added the comment:
Sorry, I meant the docs describing how to convert os.popen* calls to
subprocess calls. They assume the shell arg is always True regardless of
the cmd arg type. Those docs are probably the original source of this bug
--
Changes by Jean-Paul Calderone exar...@divmod.com:
Added file: http://bugs.python.org/file14791/os-popen-list.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
Jean-Paul Calderone exar...@divmod.com added the comment:
Attached os-popen-list.patch which includes all of the earlier
os-popen.diff and adds tests which fail without this patch and pass with
it. They also pass on Python 2.5. The patch is against the Python 2.6
maintenance branch, but
Changes by Max Bowsher m...@f2s.com:
--
nosy: +maxb
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
___
Python-bugs-list mailing list
Max Bowsher m...@f2s.com added the comment:
With or without tests, this is a regression from Python 2.5 - shouldn't
something be done about that?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The test is the proof the the regression, and shows the change in
behavior and the purpose of the development.
There happens to be a test for os.popen3 (in Lib/test/test_popen2.py)
which passes a list; this one at least passes.
Antoine Pitrou pit...@free.fr added the comment:
Adding a couple of unit tests would be nice.
--
nosy: +pitrou
priority: - high
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
New submission from Jani Hakala jahak...@iki.fi:
The implementation in python 2.6 expects the cmd argument to be a string.
The documentation - help(os.popen3) - states that the cmd argument can
be a sequence on Unix.
This difference may cause programs that work with python 2.5 to fail
with
Changes by Jani Hakala jahak...@iki.fi:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
___
Python-bugs-list mailing
Changes by Jani Hakala jahak...@iki.fi:
Added file: http://bugs.python.org/file13141/os-popen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
Changes by Jani Hakala jahak...@iki.fi:
Removed file: http://bugs.python.org/file13140/os-popen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
15 matches
Mail list logo