Re: [Python-Dev] test_quopri, test_wait3, and test_popen2

2006-03-23 Thread Martin v. Löwis
Neal Norwitz wrote: > I played with this some last night and found the same ordering. I > have a different patch that also fixes the problem. It also fixes 2-3 > bugs I think. Basically the child could be waited on from outside > popen (or from 2 threads). The question is what should we do if t

Re: [Python-Dev] test_quopri, test_wait3, and test_popen2

2006-03-23 Thread Neal Norwitz
On 3/23/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > I have been looking into the (seemingly random) test_popen2 > failures today, and found that it fails when the tests I played with this some last night and found the same ordering. I have a different patch that also fixes the problem. It

[Python-Dev] test_quopri, test_wait3, and test_popen2

2006-03-23 Thread Martin v. Löwis
I have been looking into the (seemingly random) test_popen2 failures today, and found that it fails when the tests are run in the order given in the subject. Here is what happens: - test_quopri uses os.popen2, which in turn creates a popen2.Popen3 object. It processes stdin/stdout, but never ca