Message117213
Following script hangs on Python3.x.
from subprocess import *
import sys
p = Popen([sys.executable, "-c", "import sys; print(sys.stdin.read(1))"], stdin=PIPE)
p.stdin.write(b'x')
p.wait()
This is because unbuffered functionality of
subprocess.Popen is disabled. Is this still needed?
I confirmed test_subprocess passes with the attached
patch. |
|
Date |
User |
Action |
Args |
2010-09-23 18:15:42 | ocean-city | set | recipients:
+ ocean-city |
2010-09-23 18:15:42 | ocean-city | set | messageid: <1285265742.42.0.656694330002.issue9929@psf.upfronthosting.co.za> |
2010-09-23 18:15:40 | ocean-city | link | issue9929 messages |
2010-09-23 18:15:39 | ocean-city | create | |
|