Serhiy Storchaka added the comment:

I partially agree with you. We must copy blocks in communicate().

Your patch is great, but I doubt that there is a best feature. If we teach 
communicate() to work with file-like objects, this feature will exceed your 
suggestion and 'input' parameter of check_output() will be redundant. Are you 
want to implement a more powerful feature? If not, I will commit your patch. 
But I hope that before the 3.4 release we will replace it with a more powerful 

Mark, can you please run subprocesses tests on Windows?


Python tracker <>
Python-bugs-list mailing list

Reply via email to