Eli Zaretskii writes: >> From: Matthias Meulien >> Date: Sat, 01 Jul 2023 18:10:21 +0200 >> >> Here's a patch adding a python-interpreter-args custom variable. > > Thanks. A few minor comments below. > >> +(defcustom python-interpreter-args "" >> + "Default arguments for the Python interpreter." >> + :type 'string) > > New defcustoms should have the :version tag. > >> (defcustom python-shell-interpreter-args "-i" >> - "Default arguments for the Python interpreter." >> + "Default arguments for the Python interpreter for shell." > > I think this doc string needs to be clarified, in particular what is > the significance of the "for shell" addition. > > We also need a NEWS entry calling out the new defcustom. > > kobarity, any comments to this change? See the description of the > original issue in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64397#5. Thanks for your careful reading. Here is an updated patch. Not sure it address your very relevant comment on the doc string of python-shell-interpreter-args. I must confess I don't understand the meaning of the word "shell" in this file python-mode.el (even after reading https://en.wikipedia.org/wiki/Shell_(computing))!