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 vstinner
Recipients Arfrever, akira, dmalcolm, martin.panter, pitrou, python-dev, rosslagerwall, serhiy.storchaka, vstinner
Date 2015-03-03.12:01:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwa1vE1FizHnn6qN7PcrFTDjh26qfJb6zt991ZCb800U+w@mail.gmail.com>
In-reply-to <1425382047.27.0.804062911978.issue21619@psf.upfronthosting.co.za>
Content
I would be safer to use a bufsize a little bit larger :-)

proc = subprocess.Popen([...], bufsize=support.PIPE_MAX_SIZE * 2,
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
...
proc.stdin.write(b'x' * support.PIPE_MAX_SIZE)
History
Date User Action Args
2015-03-03 12:01:23vstinnersetrecipients: + vstinner, pitrou, Arfrever, dmalcolm, akira, rosslagerwall, python-dev, martin.panter, serhiy.storchaka
2015-03-03 12:01:23vstinnerlinkissue21619 messages
2015-03-03 12:01:23vstinnercreate