From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#23300: 25.0.92; python interrupts subjop on keyborard quit Date: Wed, 02 Dec 2020 13:25:38 +0100 Message-ID: <87sg8o1jjx.fsf@gnus.org> References: <878u0dpzm8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37295"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 23300@debbugs.gnu.org To: Vitalie Spinu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 02 13:26:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkRD2-0009Zk-7C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 13:26:12 +0100 Original-Received: from localhost ([::1]:33648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkRD1-0002l6-5v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 07:26:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkRCs-0002kr-Ec for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 07:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkRCs-0006na-1T for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 07:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkRCr-0002DA-Uj for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 07:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2020 12:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23300 X-GNU-PR-Package: emacs Original-Received: via spool by 23300-submit@debbugs.gnu.org id=B23300.16069119498458 (code B ref 23300); Wed, 02 Dec 2020 12:26:01 +0000 Original-Received: (at 23300) by debbugs.gnu.org; 2 Dec 2020 12:25:49 +0000 Original-Received: from localhost ([127.0.0.1]:34628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkRCf-0002CM-I4 for submit@debbugs.gnu.org; Wed, 02 Dec 2020 07:25:49 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:60584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkRCe-0002C1-3P for 23300@debbugs.gnu.org; Wed, 02 Dec 2020 07:25:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EGJr0+k5XqM8v3Q+jjggMLHcbgcf/0lQeXVmdve/wqA=; b=Jcv8r/xFg5dpOBBgeQvSCfNOVN h7SK3PdtGwcyNWD9d+rvpMFvf6NVx16BKwXeXq2PbapEPYRSG2xl6ifGWsnbfdw3HwMl8Luj5lEaI T1ROve8+SigCBqfpVXJohGKj+HUY6f3TnOJEp6AQ6F8JRjlJhGgH7fUQ6ZfyqceJjYOA=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkRCV-0006Hr-9h; Wed, 02 Dec 2020 13:25:41 +0100 X-Now-Playing: Depeche Mode's _Some Great Reward_: "Lie To Me" In-Reply-To: <878u0dpzm8.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 16 Apr 2016 13:22:23 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194795 Archived-At: Vitalie Spinu writes: > Currently python.el has a bad habit of interrupting running jobs on > keyboard quit. > > Run a time consuming task: > > import time > time.sleep(100) > > Then go to python file and move your cursor around. If eldoc or company > completion is active, python.el will hang after requesting for > completion. That's because it's not smart enough to understand that the > process is busy. For me the hang even happens on C-x C-f for no clear > reason. (This bug report unfortunately got no response at the time.) I tried reproducing this in Emacs 28 by emacs -Q foo.py C-c C-p C-x h C-c C-r and then moving around, and I didn't get any interrupts, as far as I'm able to tell. Are you still seeing this problem in more recent versions of Emacs? If so, do you have a precise recipe to reproduce the bug? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no