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 python 2.6 I have tested the patch attached with one of my scripts that failed with python 2.6 and the fix appears to work. ---------- components: Library (Lib) files: os-popen.diff keywords: patch messages: 82523 nosy: jahakala severity: normal status: open title: os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5 versions: Python 2.6 Added file: http://bugs.python.org/file13140/os-popen.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5329> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com