Re: [Python-Dev] A Survey on Defect Management Practices in Free/Open Source Software

2007-04-03 Thread Georg Brandl
Anthony Baxter schrieb: > On Wednesday 04 April 2007 14:44, Anu Gupta DCSA wrote: >> Dear Python Contributors, >> >> I seek help from designers, developers, testers,defect >> fixers,project managers or playing any other key role in >> Free/Open Source software development or maintenence >> in carry

Re: [Python-Dev] A Survey on Defect Management Practices in Free/Open Source Software

2007-04-03 Thread Anthony Baxter
On Wednesday 04 April 2007 14:44, Anu Gupta DCSA wrote: > Dear Python Contributors, > > I seek help from designers, developers, testers,defect > fixers,project managers or playing any other key role in > Free/Open Source software development or maintenence > in carrying out a study on practices and

[Python-Dev] A Survey on Defect Management Practices in Free/Open Source Software

2007-04-03 Thread Anu Gupta DCSA
Dear Python Contributors, I seek help from designers, developers, testers,defect fixers,project managers or playing any other key role in Free/Open Source software development or maintenence in carrying out a study on practices and problems of defect management in various Free/Open Source Soft

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Martin v. Löwis
> Another difference I believe is that TerminateProcess on Windows > doesn't kill the tree of processes like kill would. I believe you are wrong here: kill on Unix would *not* kill the tree of processes. Killing the parent process just does that: kill the parent process. Killing process groups i

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Martin v. Löwis
> I don't like the idea of rely on the private _handle and do: > > process = subprocess.Popen(...) > ... > subprocess.TerminateProcess(int(process._handle), -1) > > so, I'll end doing this: > > process = subprocess.Popen(...) > ... > handle =ctypes.windll.kernel32.OpenProcess(1, Fals

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Facundo Batista
Raghuram Devarakonda wrote: >Q end the current SSL connection and exit." > > Can a command "Q" be sent to the server once testing is complete? For openssl to recognize your "Q", you need to have a connection active. So, we need a better way to kill the external openssl in the tests (don

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Trent Mick
Steven Bethard wrote: > Another difference I believe is that TerminateProcess on Windows > doesn't kill the tree of processes like kill would. It would be nice > if Popen.terminate() did the same thing on both Unix and Windows. (I > assume that would mean making *all* the appropriate TerminatePro

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Trent Mick
Christian Heimes wrote: >> I'd be willing to look at adding it, if the group thinks it's the right >> thing to do. > > I like the idea and I'm proposing to add two more methods to subprocess > Popen. > > class Popen(...): > ... > def signal(self, signal): > """Send a signal to th

Re: [Python-Dev] test_socketserver flakey?

2007-04-03 Thread Guido van Rossum
I'm not sure I agree with your analysis -- the test that fails is using unix domain sockets, not TCP. On 4/3/07, Hasan Diwan <[EMAIL PROTECTED]> wrote: > Guido: > > On 03/04/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > But I saw this failure during a regular regrtest run as well. How > > wo

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Josiah Carlson
"Steven Bethard" <[EMAIL PROTECTED]> wrote: > On 4/3/07, Christian Heimes <[EMAIL PROTECTED]> wrote: > > > I'd be willing to look at adding it, if the group thinks it's the right > > > thing to do. > > > > I like the idea and I'm proposing to add two more methods to subprocess > > Popen. > > > > c

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Raghuram Devarakonda
On 4/2/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > I launch openssl through subprocess, but I do *not* find a way to tell > him to quit serving, so all I can do is to kill the process (through the > pid from the Popen object). > > The problem is that os.kill only works in Unix and Macintosh.

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Steven Bethard
On 4/3/07, Christian Heimes <[EMAIL PROTECTED]> wrote: > > I'd be willing to look at adding it, if the group thinks it's the right > > thing to do. > > I like the idea and I'm proposing to add two more methods to subprocess > Popen. > > class Popen(...): > ... > def signal(self, signal): >

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Facundo Batista
Eric V. Smith wrote: > I'd be willing to look at adding it, if the group thinks it's the right > thing to do. +1 to have the functionality of "kill the process you started" in subprocess. -- . Facundo . Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ __

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Christian Heimes
> I'd be willing to look at adding it, if the group thinks it's the right > thing to do. I like the idea and I'm proposing to add two more methods to subprocess Popen. class Popen(...): ... def signal(self, signal): """Send a signal to the process (UNIX only) signal is c

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Eric V. Smith
Facundo Batista wrote: > Eric V. Smith wrote: > >> Would it not be better to put a platform-independent version of this >> into subprocess, so that this code doesn't have to be duplicated all >> over the place? Maybe a method on a Popen object called terminate()? > > Yes. But I'm not up to th

Re: [Python-Dev] test_socketserver flakey?

2007-04-03 Thread Guido van Rossum
On 4/3/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 4/3/07, Hasan Diwan <[EMAIL PROTECTED]> wrote: > > > Guido van Rossum wrote: > > > > The test_socketserver unittest seems to be failing occasionally for > > > > me. (Svn HEAD, Ubuntu dapper.) > > > > Specifically, which test is failing? >

Re: [Python-Dev] test_socketserver flakey?

2007-04-03 Thread Guido van Rossum
On 4/3/07, Hasan Diwan <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > The test_socketserver unittest seems to be failing occasionally for > > > me. (Svn HEAD, Ubuntu dapper.) > > Specifically, which test is failing? Hard to say -- so far, I've just seen the blanket "test failed" repo

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Facundo Batista
Eric V. Smith wrote: > Would it not be better to put a platform-independent version of this > into subprocess, so that this code doesn't have to be duplicated all > over the place? Maybe a method on a Popen object called terminate()? Yes. But I'm not up to that task. Really don't know how to

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Eric V. Smith
[sorry if you see 2 copies of this] Facundo Batista wrote: > The problem of TerminateProcess is that I need the handle of the > process. > > I don't like the idea of rely on the private _handle and do: > > process = subprocess.Popen(...) > ... > subprocess.TerminateProcess(int(process._han

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Facundo Batista
Martin v. Löwis wrote: > On Win32, you also have subprocess.TerminateProcess, if you have the > subprocess module in the first place. The problem of TerminateProcess is that I need the handle of the process. I don't like the idea of rely on the private _handle and do: process = subprocess.Pop

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Facundo Batista
Martin v. Löwis wrote: > On Win32, you also have subprocess.TerminateProcess, if you have the > subprocess module in the first place. The problem of TerminateProcess is that I need the handle of the process. I don't like the idea of rely on the private _handle and do: process = subprocess.Pop

Re: [Python-Dev] Distutils and -framework on MacOSX

2007-04-03 Thread Ronald Oussoren
On 30 Mar, 2007, at 7:27, Greg Ewing wrote: > Ronald Oussoren wrote: > >> What's wrong with adding -framework flags to the end? I do this >> all the time and have yet to run into problems. > > I don't know what's wrong. Sometimes it works for me too, > but often it doesn't, and when it doesn't

Re: [Python-Dev] test_socketserver flakey?

2007-04-03 Thread Hasan Diwan
Guido van Rossum wrote: > The test_socketserver unittest seems to be failing occasionally for > me. (Svn HEAD, Ubuntu dapper.) Specifically, which test is failing? -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> ___ Python-Dev mailing list Python-Dev@pyt