[issue8006] os.popen in Python 3.1

2011-03-27 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Closing as invalid - believed to be a buffering issue. -- nosy: +rosslagerwall resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8006] os.popen in Python 3.1

2010-08-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: I've just run this: code import os fd = os.popen(cat.exe, w) for i in range (100): _ = fd.write (%d\n % i) fd.flush () /code and seen the expected list of numbers on the screen. cat.exe is from the gnuwin32 tools but I'm assuming that

[issue8006] os.popen in Python 3.1

2010-08-08 Thread Bob Buckley
Bob Buckley b...@buckley.id.au added the comment: Sorry I didn't get back to you. Originally, I had trouble with just getting a pipe ... but updating my Python software seemed to make that problem go away. I also had problems with Python 2.6 when drawing more complicated figures. I could not

[issue8006] os.popen in Python 3.1

2010-08-06 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- assignee: - tim.golden nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8006 ___

[issue8006] os.popen in Python 3.1

2010-03-21 Thread Bob Buckley
Bob Buckley b...@buckley.id.au added the comment: I could not get it to open a write pipe. I am trying to drive GNUplot from Python. It worked OK in Python 2.x but does not work well in 3.x. I have it partially working now ... I am calling subprocess.Popen but I cannot get a text mode pipe

[issue8006] os.popen in Python 3.1

2010-03-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: A short snipped of example code that works in python2 and fails in python3 would be helpful in deciding whether or not this is a bug that needs fixing in python3. Something that doesn't involve gnuplot, just python itself. --

[issue8006] os.popen in Python 3.1

2010-03-20 Thread Yuriy Taraday
Yuriy Taraday yorik@gmail.com added the comment: os.popen is obsolete and as I understand is removed from 3k. Use subprocess module instead. http://docs.python.org/library/os.html?highlight=popen#os.popen -- nosy: +yorik.sar ___ Python tracker

[issue8006] os.popen in Python 3.1

2010-03-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Well, actually os.popen in Python3 is implemented by calling subprocess.Popen. So, Bob, how does it fail? -- nosy: +r.david.murray priority: - normal stage: - test needed ___ Python tracker