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
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
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
> 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
> 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
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
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
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
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
"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
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.
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):
>
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/
__
> 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
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
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?
>
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
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
[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
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
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
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
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
23 matches
Mail list logo