Re: [PATCH] Work around performance bug in subprocess.Popen.communicate()
- From
- Karl Wiberg <kha@virtutech.com>
- Date
- Aug 14, 2009, 08:12 UTC
- Message-ID
- <20090814081220.GA24722@lux.e.vtech>
- In-Reply-To
- <e87cdfda0908140026x21b8aad3x82417d4b1c8016f4@mail.gmail.com>
On 2009-08-14 09:26:06 +0200, Erik Sandberg wrote:
> Wouldn't it be better to only use the write() workaround when > sys.version indicates that the Python bug may be present, and use > communicate() properly otherwise?
In my opinion: no. The workaround has no negative effect (since we know that git is well-behaved). Making it conditional would only make the code more complex, without gaining us anything.
-- Karl Wiberg, Virtutech