From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74894: 29.4; Emacs not responding when calling python-fix-imports Date: Sat, 04 Jan 2025 13:46:48 +0200 Message-ID: <86frlyer87.fsf@gnu.org> References: <5CLIOS.GV2CWQIRVGEG1@gmail.com> <86zfkp7210.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38402"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kobarity , 74894@debbugs.gnu.org To: Keglo Stephane Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 12:47:10 2025 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 1tU2cY-0009p4-Dk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 12:47:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2cS-0002Lr-Ah; Sat, 04 Jan 2025 06:47:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2cR-0002LT-0k for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:47:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tU2cQ-0005K1-Ix for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:47:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=SlDyrDJT5UQhoA7m9U+fXtHA6m6J9VUpxf4kiJSXY+8=; b=VMc4AmP/PEtQK7klOO1lP1Hjitm1RaoEKyRBlwS260y+fo2fh7YIZZE7AEN3YSRHyTP/Mk834DI3pgbresAOX0UQiCV8oqFuAkpSRif/hDLSnNNPbyzXa0v/WBkGfyg9Rirc1I46xF5bFqacIfScP2tfOnK9SONpTcUVZtR7KI1n42AAW0ZAZwJQhunz4EmgB6DejQcSYrRy+/Uf3GZwQ3zUrOJFOy3R0wYYek3DPFw7mUQMva2nY/BXuBV4BJOUGNQrGWFStznQy6TkrjSyixTeXJ8GnJJtjZfH7YGeqjRh8ggXud+62ssCA4JiOfyN54rXrvclI54T02SVLuyP7A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2cQ-0003MW-CY for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 11:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74894 X-GNU-PR-Package: emacs Original-Received: via spool by 74894-submit@debbugs.gnu.org id=B74894.173599122012917 (code B ref 74894); Sat, 04 Jan 2025 11:47:02 +0000 Original-Received: (at 74894) by debbugs.gnu.org; 4 Jan 2025 11:47:00 +0000 Original-Received: from localhost ([127.0.0.1]:53679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2cO-0003MG-80 for submit@debbugs.gnu.org; Sat, 04 Jan 2025 06:47:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48032) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2cM-0003M3-9R for 74894@debbugs.gnu.org; Sat, 04 Jan 2025 06:46:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2cG-0005JB-P8; Sat, 04 Jan 2025 06:46:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SlDyrDJT5UQhoA7m9U+fXtHA6m6J9VUpxf4kiJSXY+8=; b=lndE338lKCVT Wv3qVDPHAccDBZrODrlASUL2eu+DJze7e9rA/x/meyisXLsL+xcZrqIK1kfJZU/yKRraug+lF4i2x 9HQVqqjtHDcUfo6OV1XUurczK0qDNw/8M0KGGqiQUe5YaL/J6UvPt8K6rJENQVYWAXM26AoP/kx3s 1FJdyl98pzLArnUCea7D0ElVJTvmXKiiygM88J7lFu8PUPXMGxaOdzWU5OreSdszrpMzNuNp0yQCt KcrsHqRN1KrML8rU6wuvXaGIlmM2pWwEPRvEzEakQmeyM5AF9d6zjzTUkVdEghp9iNf6oi00BgKcO 9BN2kfmbdoj9xLe9LcYatA==; In-Reply-To: (message from Keglo Stephane on Sun, 22 Dec 2024 14:35:51 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298374 Archived-At: [Please use Reply All, to have everyone CC'ed.] > Date: Sun, 22 Dec 2024 14:35:51 +0000 > From: Keglo Stephane > > This is a simple recipe to reproduce the bug: > 1- open an empty python buffer > 2- start an inferior python shell C-c C-p > 3- Enter the following code: print(string.digits) > 4- Evaluation of this code should throw an exception since the string module is not imported > 5- Trying to use python-add-import ( C-c TAB a) or python-fix-imports ( C-c TAB fix) to add the missing > import, Emacs freeze a moment. > you have to press Ctrl-G to make Emacs respond again. kobarity, any suggestions?