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
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