From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10752 invoked by alias); 25 Jul 2013 19:07:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10726 invoked by uid 89); 25 Jul 2013 19:07:47 -0000 X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Jul 2013 19:07:44 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6PJ7bAb010304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Jul 2013 15:07:37 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6PJ7ZNX010638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 25 Jul 2013 15:07:36 -0400 From: Tom Tromey To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Fix SIGTERM signal safety (PR gdb/15358) References: <20130702200010.GA23478@host2.jankratochvil.net> <87txjivelx.fsf@fleche.redhat.com> <20130725154054.GA22227@host2.jankratochvil.net> Date: Thu, 25 Jul 2013 19:07:00 -0000 In-Reply-To: <20130725154054.GA22227@host2.jankratochvil.net> (Jan Kratochvil's message of "Thu, 25 Jul 2013 17:40:54 +0200") Message-ID: <87bo5qv4p4.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00628.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> I am roughly aware it may somehow abort Python scripts but IMO that Jan> is what we want to do. Ok. It wasn't clear from your note that you were aware of the effect. It isn't obvious to me that KeyboardInterrupt is what we want on the Python side, but I dug around in CPython a bit and didn't see any way to do better, at least not without awful hacks. Tom