From: Augusto Stoffel <arstoffel@gmail.com>
To: kobarity <kobarity@gmail.com>
Cc: 70440@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#70440: [PATCH] Use -P switch when calling 'python-interpreter'
Date: Thu, 18 Apr 2024 17:52:21 +0200 [thread overview]
Message-ID: <87sezihdmy.fsf@gmail.com> (raw)
In-Reply-To: <eke7y19aofph.wl-kobarity@gmail.com> (kobarity@gmail.com's message of "Fri, 19 Apr 2024 00:25:46 +0900")
On Fri, 19 Apr 2024 at 00:25, kobarity wrote:
> The -P switch is new, introduced in CPython 3.11, so I don't think it
> can be added unconditionally. Furthermore, `python-interpreter' may
> not be CPython. Isn't it enough to customize
> `python-interpreter-args'?
Ah, too bad. So let's send that option via environment variables. I'll
make a new patch when I get the chance.
This patch is a quite important fix and shouldn't be left to a
customization. Without it, you need to trust the .py files in the
current directory. Moreover any name clashes with the built-in library
module names can crash the commands (just happened to me).
next prev parent reply other threads:[~2024-04-18 15:52 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sezihdmy.fsf@gmail.com \
--to=arstoffel@gmail.com \
--cc=70440@debbugs.gnu.org \
--cc=eliz@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).