This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients anacrolix, eric.araujo, gregory.p.smith, lukasz.langa, pitrou, r.david.murray, vstinner
Date 2011-07-22.00:48:47
SpamBayes Score 3.4650605e-10
Marked as misclassified No
Message-id <1311295729.09.0.591807043276.issue12591@psf.upfronthosting.co.za>
In-reply-to
Content
The "universal_newlines" feature is rather poorly named in Python 3.x, since it does much more than that (the resulting files yield and expect unicode strings rather than bytes objects).

The problem is that io.TextIOWrapper needs a buffered I/O object, but bufsize is 0 by default in subprocess.Popen(). In the meantime, you can workaround it using a non-zero bufsize in the Popen() constructor. Of course, this has the side-effect of forcing you to call flush() on the stdin stream (if you are using it).
History
Date User Action Args
2011-07-22 00:48:49pitrousetrecipients: + pitrou, gregory.p.smith, vstinner, eric.araujo, r.david.murray, anacrolix, lukasz.langa
2011-07-22 00:48:49pitrousetmessageid: <1311295729.09.0.591807043276.issue12591@psf.upfronthosting.co.za>
2011-07-22 00:48:48pitroulinkissue12591 messages
2011-07-22 00:48:48pitroucreate