RE: Kill a function while it's being executed

2009-02-17 Thread Noam Aigerman
-list@python.org Subject: Re: Kill a function while it's being executed On Wed, 2009-02-04 at 13:40 +0200, Noam Aigerman wrote: Hi All, I have a script in which I receive a list of functions. I iterate over the list and run each function. This functions are created by some other user who

Re: Kill a function while it's being executed

2009-02-17 Thread Robert Kern
On 2009-02-17 12:53, Noam Aigerman wrote: Hi, Sorry for resurrecting an old thread, but it just bothers me that this is the best way that python has to deal with killing running functions... it's quite an ugly hack, no? Is it a feature that's needed bit missing from python, or is it left out on

Re: Kill a function while it's being executed

2009-02-04 Thread Albert Hopkins
On Wed, 2009-02-04 at 13:40 +0200, Noam Aigerman wrote: Hi All, I have a script in which I receive a list of functions. I iterate over the list and run each function. This functions are created by some other user who is using the lib I wrote. Now, there are some cases in which the function I

RE: Kill a function while it's being executed

2009-02-04 Thread Noam Aigerman
@python.org] On Behalf Of Albert Hopkins Sent: Wednesday, February 04, 2009 5:26 PM To: python-list@python.org Subject: Re: Kill a function while it's being executed On Wed, 2009-02-04 at 13:40 +0200, Noam Aigerman wrote: Hi All, I have a script in which I receive a list of functions. I

Re: Kill a function while it's being executed

2009-02-04 Thread Steve Holden
Noam Aigerman wrote: About the hijacking - I *might* have done it without understanding what I did (replied to a previous message and then changed the subject), if that's what you mean... Sorry That's what he meant. A lot of news reading and email software uses In-Reply-To and various other

Re: Kill a function while it's being executed

2009-02-04 Thread Ben Finney
Noam Aigerman no...@answers.com writes: About the hijacking - I *might* have done it without understanding what I did (replied to a previous message and then changed the subject), if that's what you mean... Right. The message still declares itself (via fields in the header) to be a reply to