From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 04:54:19 2023 Received: (at submit) by debbugs.gnu.org; 20 Feb 2023 09:54:19 +0000 Received: from localhost ([127.0.0.1]:50548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU2sE-0002h8-Ut for submit@debbugs.gnu.org; Mon, 20 Feb 2023 04:54:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:57438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU2sD-0002h0-3F for submit@debbugs.gnu.org; Mon, 20 Feb 2023 04:54:17 -0500 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 1pU2sB-0001KI-NB for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 04:54:16 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU2s8-0005gW-Vm for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 04:54:14 -0500 Received: by mail-ed1-x52b.google.com with SMTP id cq23so2010421edb.1 for ; Mon, 20 Feb 2023 01:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=8Iw6kZKGQHU08MSA98u87GkS0cVPTySc0gsAHaf8ysk=; b=M9JjpyMkI2SauG1VlUfutoqXqeNunnW8K+llWXvoBNWAF/Y/110v0LMQ36Y1ga5gqM Ygi2r9Wm+cmNZ+lggjvlGkMy/Kztksk/7Tuk5V+nlfXeFEqAU33OT74gtW2t20Sc0T2q gvPmJsdha36J4hfCjxRlZxo8wpm2TDem6jieEt7AWTg27nWvasGXFLqXrelCap9Tfsoj 3kU5wmldjH+Puo2zZyfhvT3q5AsSH3L5fgnRee7udvgNZBPNyy9LeC+LAnjbfuJSgv2M B50/19M1jzFwnGtVtEBp5zB3zPZLRbGq6ERBNOOtQuLaCueQxbY4CJbYKAnmNIiwNENu uB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8Iw6kZKGQHU08MSA98u87GkS0cVPTySc0gsAHaf8ysk=; b=tz3YbarimTPhPTs6mIovXT/Zi3vTX7myR6Nt3bInBkn3mEugg9N0+SxYJwHVsEuKU/ o1bvgqVsY38EDAuI9IlHJItNUEZ4de/3wlbIVQGNoBDkNxCwCmOCKq7QIQiUJhoX8ppc dscTQt8xAKEz5HcZaLGuh7CNI+waYoTQYpuxLYmufit7ugSog6rxWb+WoK7ri2x2siDS 8NNc3FJUvnMddgq4Y+YXJLIDsEP7wFHEu2QNui6WzopebPWs5MfKgw/tpMM9CVKlzrsV yGygqP7OInHiXthm3YxrzrCiaaU/QrnIKLyFfumI4JRViT1fnOdkwqw0kMo7LnUbmwCI EKGw== X-Gm-Message-State: AO0yUKWEMbJMIaycRo8Qo6epL3OQFG3Od8Zcvbz/WmQ6USR09/CvI/QJ pLqb4FewLupIABfnYNFqh5RUmcxCkac= X-Google-Smtp-Source: AK7set8ngovlhFhtxxAjLJpCNRrkwBGDu0fWwWd/bWqqyYYziE7mmbFJowzGo6ZtqxDFcjWgoQWtMA== X-Received: by 2002:a17:906:2a59:b0:8b1:392f:f847 with SMTP id k25-20020a1709062a5900b008b1392ff847mr10750237eje.25.1676886849587; Mon, 20 Feb 2023 01:54:09 -0800 (PST) Received: from ars3 ([2a02:8109:8ac0:56d0::6fd0]) by smtp.gmail.com with ESMTPSA id kq16-20020a170906abd000b00889a77458dbsm5525857ejb.21.2023.02.20.01.54.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 01:54:08 -0800 (PST) From: Augusto Stoffel To: bug-gnu-emacs@gnu.org Subject: [PATCH] * lisp/progmodes/python.el (python--import-sources): Fix regexp Date: Mon, 20 Feb 2023 10:54:07 +0100 Message-ID: <875ybwhdc0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Tags: patch Please include this small bug fix concerning the Python import commands in Emacs 29. .pyc files are binary bytecode and not relevant for the purposes of the import management. I originally confused them with .pyx files, which are Cython source files (a Python dialect). --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-lisp-progmodes-python.el-python-import-sources-Fix-r.patch >From 5332794f25d5d7272271981d8c463d112a1d8b1e Mon Sep 17 00:00:00 2001 From: Augusto Stoffel Date: Mon, 20 Feb 2023 10:49:22 +0100 Subject: [PATCH] * lisp/progmodes/python.el (python--import-sources): Fix regexp --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0d714c31e9e..eab5e70af33 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -6376,7 +6376,7 @@ python--import-sources "List files containing Python imports that may be useful in the current buffer." (if-let (((featurep 'project)) ;For compatibility with Emacs < 26 (proj (project-current))) - (seq-filter (lambda (s) (string-match-p "\\.py[ciw]?\\'" s)) + (seq-filter (lambda (s) (string-match-p "\\.py[iwx]?\\'" s)) (project-files proj)) (list default-directory))) -- 2.39.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 08:32:35 2023 Received: (at 61648-done) by debbugs.gnu.org; 22 Feb 2023 13:32:35 +0000 Received: from localhost ([127.0.0.1]:58322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUpEZ-0002b7-Av for submit@debbugs.gnu.org; Wed, 22 Feb 2023 08:32:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUpEW-0002at-08 for 61648-done@debbugs.gnu.org; Wed, 22 Feb 2023 08:32:33 -0500 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 1pUpEQ-0004WG-J1; Wed, 22 Feb 2023 08:32:26 -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=I/hhM07LnDlgBLrbWBhevZCvhCLRhiUWUwoOoQ4l0ts=; b=OS5HYsZbPArV JQll95axfawrVVQjjNFarzgrtDl5ios69l/jte4hRmvNwIHbo6RuzH0GkVkzwKxBvhwbqehZXsNfi 8TX0BRe2IQ3sfB1bfFZImTeNblpnCHDKcbFw6xCmI150gjkdxUBpHnniQwpwJ6P+AhvhA9Zb4mImx fhx7KTRGgiygQ6ji0sXTcQgadKjMZ56Zn6SXUWdy2h4PpmAaEZNeBHT1vjIxfPuTZtCCSPbBxdZBV 2GPbIFmVV1mR3RGFxSrpqQbqVUU2yVMNUsBiWzjZWoRj+0nvoh/k8CXQPKnAY90fdSjn8W0F1pl3e RYXhzwPDYBjM3RrvXs7NWw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUpEP-0006om-TO; Wed, 22 Feb 2023 08:32:26 -0500 Date: Wed, 22 Feb 2023 15:32:37 +0200 Message-Id: <837cw9su4q.fsf@gnu.org> From: Eli Zaretskii To: Augusto Stoffel In-Reply-To: <875ybwhdc0.fsf@gmail.com> (message from Augusto Stoffel on Mon, 20 Feb 2023 10:54:07 +0100) Subject: Re: bug#61648: [PATCH] * lisp/progmodes/python.el (python--import-sources): Fix regexp References: <875ybwhdc0.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61648-done Cc: 61648-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Augusto Stoffel > Date: Mon, 20 Feb 2023 10:54:07 +0100 > > Please include this small bug fix concerning the Python import commands > in Emacs 29. > > .pyc files are binary bytecode and not relevant for the purposes of the > import management. I originally confused them with .pyx files, which > are Cython source files (a Python dialect). Thanks, installed. From unknown Sun Jun 22 07:33:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Mar 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator