all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: 70440@debbugs.gnu.org, kobarity@gmail.com
Subject: bug#70440: [PATCH] Use -P switch when calling 'python-interpreter'
Date: Fri, 19 Apr 2024 22:01:44 +0300	[thread overview]
Message-ID: <86r0f19nxj.fsf@gnu.org> (raw)
In-Reply-To: <87o7a5kxx8.fsf@gmail.com> (message from Augusto Stoffel on Fri,  19 Apr 2024 20:30:27 +0200)

> From: Augusto Stoffel <arstoffel@gmail.com>
> Cc: kobarity@gmail.com,  70440@debbugs.gnu.org
> Date: Fri, 19 Apr 2024 20:30:27 +0200
> 
> On Fri, 19 Apr 2024 at 21:17, Eli Zaretskii wrote:
> 
> >> 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?
> 
> Yes.

That's what IMO is unthinkable: we cannot possibly force the user's
hand that much, especially since this used to work before.  Users need
to learn about the problem and install a newer Python, and then the
security hole will be gone, at least as far as invoking Python from
Emacs is concerned.  The most we can do is urge the users to upgrade
in the NEWS entry where we announce this new feature.





      reply	other threads:[~2024-04-19 19:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 18:23 bug#70440: [PATCH] Use -P switch when calling 'python-interpreter' Augusto Stoffel
2024-04-17 19:13 ` Eli Zaretskii
2024-04-18 15:25   ` kobarity
2024-04-18 15:52     ` Augusto Stoffel
2024-04-18 15:57       ` Eli Zaretskii
2024-04-18 16:02         ` Augusto Stoffel
2024-04-18 16:13           ` Eli Zaretskii
2024-04-19  6:08     ` Augusto Stoffel
2024-04-19  7:15       ` Eli Zaretskii
2024-04-19 15:21         ` Augusto Stoffel
2024-04-19 15:40           ` Eli Zaretskii
2024-04-19 15:55             ` Augusto Stoffel
2024-04-19 17:31               ` Eli Zaretskii
2024-04-19 18:02                 ` Augusto Stoffel
2024-04-19 18:17                   ` Eli Zaretskii
2024-04-19 18:30                     ` Augusto Stoffel
2024-04-19 19:01                       ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r0f19nxj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70440@debbugs.gnu.org \
    --cc=arstoffel@gmail.com \
    --cc=kobarity@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.