unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 7f0a252f216 1/2: Prefer python3 for python-interpreter
@ 2024-09-27  7:12 Eli Zaretskii
  2024-09-27  7:59 ` Xiyue Deng
  2024-09-29 15:23 ` Stefan Kangas
  0 siblings, 2 replies; 16+ messages in thread
From: Eli Zaretskii @ 2024-09-27  7:12 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: emacs-devel

> -(defcustom python-interpreter "python"
> +(defcustom python-interpreter
> +  (cond ((executable-find "python3") "python3")
> +        ((executable-find "python") "python")
> +        (t "python3"))

Stefan, are you sure this change is for the better?  python3 is not
guaranteed to be available (e.g., it isn't on my system), so the above
is a net loss for such systems.  Bug#70722 and bug#70815 have some
information about this mess, as it happens on different systems.  Are
you sure this change is not specific to what you see on macOS, for
example?  We could make the default value different on different
systems, if we really need that, but as a single value, I think
"python" is better, as it covers many more use cases (including
Python 2.x, which you seem to exclude entirely).

This kind of change should have been discussed, I think.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-10-07  8:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27  7:12 master 7f0a252f216 1/2: Prefer python3 for python-interpreter Eli Zaretskii
2024-09-27  7:59 ` Xiyue Deng
2024-09-27 18:43   ` Augusto Stoffel
2024-09-27 22:13     ` Xiyue Deng
2024-09-29 15:37     ` Stefan Kangas
2024-09-29 15:49       ` Eli Zaretskii
2024-09-29 16:38         ` Augusto Stoffel
2024-09-29 15:23 ` Stefan Kangas
2024-09-29 15:31   ` Eli Zaretskii
2024-09-29 15:36     ` Eli Zaretskii
2024-09-29 16:05     ` Stefan Kangas
2024-09-29 16:37       ` Eli Zaretskii
2024-09-29 21:41         ` Stefan Kangas
2024-09-30 11:22           ` Eli Zaretskii
2024-10-05 22:50   ` Rudolf Adamkovič
2024-10-07  8:20     ` Robert Pluim

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).