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


Groups > comp.lang.python > #4191

Re: Aborting Python from C code

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <miki.tebeka@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:Python': 0.04; 'handler': 0.05; 'python': 0.07; 'abort': 0.16; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'received:209.85.213': 0.23; 'subject:code': 0.23; 'script': 0.26; 'cc:addr:python.org': 0.31; 'another': 0.32; 'header:User-Agent:1': 0.35; 'trigger': 0.35; 'received:209.85': 0.37; 'received:google.com': 0.38; 'signal': 0.39; 'received:209': 0.39; 'would': 0.40; 'our': 0.63; 'to:addr:googlegroups.com': 0.69; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'reply-to:addr:googlegroups.com': 0.93
Newsgroups comp.lang.python
Date Sat, 30 Apr 2011 01:08:31 -0700 (PDT)
In-Reply-To <mailman.974.1304041735.9059.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=79.177.213.7; posting-account=uo-8fwoAAACKsFzFX78JHudx1V7WDXZ0
User-Agent G2/1.0
MIME-Version 1.0
Subject Re: Aborting Python from C code
From Miki Tebeka <miki.tebeka@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To comp.lang.python@googlegroups.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1014.1304150914.9059.python-list@python.org> (permalink)
Lines 4
NNTP-Posting-Host 82.94.164.166
X-Trace 1304150914 news.xs4all.nl 81475 [::ffff:82.94.164.166]:52626
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4191

Show key headers only | View raw


> In our sandboxed Python environment, I would like to be able to
> trigger an abort of the currently-running Python script (from a signal
> handler or another thread).
There's os.abort

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


Thread

Re: Aborting Python from C code Miki Tebeka <miki.tebeka@gmail.com> - 2011-04-30 01:08 -0700

csiph-web