[New-bugs-announce] [issue9929] subprocess.Popen unbuffered not work (windows)

Hirokazu Yamamoto report at bugs.python.org
Thu Sep 23 20:15:42 CEST 2010

New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

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)

This is because unbuffered functionality of
subprocess.Popen is disabled. Is this still needed?

I confirmed test_subprocess passes with the attached

components: Windows
files: py3k_fix_unbuffered_in_subprocess.patch
keywords: patch
messages: 117213
nosy: ocean-city
priority: normal
severity: normal
status: open
title: subprocess.Popen unbuffered not work (windows)
versions: Python 3.1, Python 3.2
Added file: http://bugs.python.org/file18980/py3k_fix_unbuffered_in_subprocess.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list