[issue15532] for line in file is *still* broken in Python 2.7

2012-08-01 Thread Andy Lutomirski
New submission from Andy Lutomirski: This program: import subprocess, sys p = subprocess.Popen(['bash', '-c', 'while true; do echo x; sleep 1; done'], bufsize=0, stdout=subprocess.PIPE) for line in p.stdout: sys.stdout.buffer.write(line) sys.stdout.flush() sits around and does

[issue15532] for line in file is *still* broken in Python 2.7 on pipes

2012-08-01 Thread Andy Lutomirski
Changes by Andy Lutomirski l...@amacapital.net: -- title: for line in file is *still* broken in Python 2.7 - for line in file is *still* broken in Python 2.7 on pipes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15532