[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-09-05 Thread Jean-Paul Calderone
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 ___

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-09-05 Thread Jean-Paul Calderone
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-09-03 Thread Philip Jenvey
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-09-03 Thread Jean-Paul Calderone
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-09-03 Thread Philip Jenvey
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 --

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-08-27 Thread Jean-Paul Calderone
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 ___

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-08-27 Thread Jean-Paul Calderone
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-07-08 Thread Max Bowsher
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-07-08 Thread Max Bowsher
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-07-08 Thread Amaury Forgeot d'Arc
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.

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-21 Thread Antoine Pitrou
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
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

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
Changes by Jani Hakala jahak...@iki.fi: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5329 ___ ___ Python-bugs-list mailing

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
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 ___

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
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 ___