Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90366

Re: Feature Request: Reposition Execution

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.098
X-Spam-Evidence '*H*': 0.81; '*S*': 0.00; 'badly': 0.09; 'exception,': 0.09; 'wrote:': 0.18; 'example': 0.22; 'header:User- Agent:1': 0.23; 'script.': 0.24; 'skip:" 20': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'flying': 0.31; 'running': 0.33; 'something': 0.35; 'sometimes': 0.38; 'process,': 0.38; 'handle': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'charset:windows-1252': 0.65; 'received:74.208': 0.68; 'worthwhile.': 0.84
Date Mon, 11 May 2015 07:57:01 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Feature Request: Reposition Execution
References <2d482$5550967d$5419aafe$27910@news.ziggo.nl>
In-Reply-To <2d482$5550967d$5419aafe$27910@news.ziggo.nl>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V03:K0:s7ju1uVs08smmH59CgqWFRfZOE+YjsmzDQmCKi2BpuEhxMsij4x StJOvrZr/vobZsgvfEV4GqJOOSrTkmnZy4iGT8z6pk0dKUi9q8zlSvLcFHe1o3OYapn8ePK lqNv0R5zy6bVPEQ8/cccLNbmdkUThu5gbm/mrHcovTPqIILPAvGQXVqpCp7WxrZ2YxtW+qK 9HgV/psJ8FxI1usMr4GTQ==
X-UI-Out-Filterresults notjunk:1;
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.354.1431345441.12865.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431345441 news.xs4all.nl 2869 [2001:888:2000:d::a6]:34408
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90366

Show key headers only | View raw


On 05/11/2015 07:46 AM, Skybuck Flying wrote:
> Hello,
>
> Sometimes it can be handy to "interrupt/reset/reposition" a running script.
>
> For example something externally goes badly wrong.
>

os.kill()

then in your process, handle the exception, and do whatever you think is 
worthwhile.




-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Feature Request: Reposition Execution "Skybuck Flying" <skybuck2000@hotmail.com> - 2015-05-11 13:46 +0200
  Re: Feature Request: Reposition Execution Dave Angel <davea@davea.name> - 2015-05-11 07:57 -0400
    Re: Feature Request: Reposition Execution Marko Rauhamaa <marko@pacujo.net> - 2015-05-11 15:02 +0300
    Re: Feature Request: Reposition Execution Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-11 22:35 +1000
      Re: Feature Request: Reposition Execution Dave Angel <davea@davea.name> - 2015-05-11 09:21 -0400
      Re: Feature Request: Reposition Execution Grant Edwards <invalid@invalid.invalid> - 2015-05-11 14:27 +0000
    Re: Feature Request: Reposition Execution "Skybuck Flying" <skybuck2000@hotmail.com> - 2015-05-12 22:18 +0200
      Re: Feature Request: Reposition Execution Christian Gollwitzer <auriocus@gmx.de> - 2015-05-13 09:27 +0200
        Re: Feature Request: Reposition Execution Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-13 19:07 +1000
          Re: Feature Request: Reposition Execution "Skybuck Flying" <skybuck2000@hotmail.com> - 2015-05-15 05:58 +0200
            Re: Feature Request: Reposition Execution Christian Gollwitzer <auriocus@gmx.de> - 2015-05-15 08:06 +0200

csiph-web