GNU bug report logs - #70440
[PATCH] Use -P switch when calling 'python-interpreter'

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Wed, 17 Apr 2024 18:24:04 UTC

Severity: normal

Tags: patch

Full log


Message #47 received at 70440 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 70440 <at> debbugs.gnu.org, kobarity <at> gmail.com
Subject: Re: bug#70440: [PATCH] Use -P switch when calling 'python-interpreter'
Date: Fri, 19 Apr 2024 21:17:16 +0300
> From: Augusto Stoffel <arstoffel <at> gmail.com>
> Cc: kobarity <at> gmail.com,  70440 <at> debbugs.gnu.org
> Date: Fri, 19 Apr 2024 20:02:16 +0200
> 
> On Fri, 19 Apr 2024 at 20:31, Eli Zaretskii wrote:
> 
> >> Let me make sure we're on the same page that this affects only
> >> couple of handy but by no means essential commands that add or remove
> >> import statements.  Nobody _needs_ this to write Python code.
> >
> > That's not relevant.  The important part is that if we accept your
> > proposal, users who have Python that doesn't support -P will be unable
> > to invoke Python even if their Python programs don't use the
> > problematic features.
> 
> That's a misunderstanding.  My patch only affects the following
> commands:
> 
>   python-sort-imports
>   python-add-import
>   python-fix-imports
>   python-remove-import
>   python-import-symbol-at-point

Affects in what way?  AFAIU, with your patch these commands will not
work if Python doesn't support -P.  Is that right?





This bug report was last modified 1 year and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.