Re: [Python-Dev] Thread/garbage collection race in Popen

2012-10-05 Thread Gregory P. Smith
On Thu, Oct 4, 2012 at 8:56 PM, Ben Leslie wrote: > Hi all, > > I have a Python program where I have many threads each calling Popen, and > I was hitting some trouble. > > I've been seeing this on 3.2.3, however I believe the same issue is still > potentially a problem on head. > > The error mani

[Python-Dev] Thread/garbage collection race in Popen

2012-10-04 Thread Ben Leslie
Hi all, I have a Python program where I have many threads each calling Popen, and I was hitting some trouble. I've been seeing this on 3.2.3, however I believe the same issue is still potentially a problem on head. The error manifests itself when a call to os.close(errpipe_read) fails with EBADF