GNU bug report logs - #18596
25.0.50; MS-Windows needs a different default for python-shell-interpreter-args

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 1 Oct 2014 15:14:01 UTC

Severity: normal

Fixed in version 25.0.50

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
Cc: 18596 <at> debbugs.gnu.org
Subject: bug#18596: 25.0.50; MS-Windows needs a different default for python-shell-interpreter-args
Date: Thu, 16 Oct 2014 13:22:27 +0300
Ping!

> From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
> Cc: bug-gnu-emacs <at> gnu.org
> Date: Thu, 02 Oct 2014 21:51:40 -0300
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > With the default value, 'run-python' hangs in accept-process-output.
> > This fixes that for me:
> >
> > --- lisp/progmodes/python.el~0	2014-10-01 06:33:59 +0300
> > +++ lisp/progmodes/python.el	2014-10-01 18:10:48 +0300
> > @@ -1739,7 +1739,8 @@
> >    :group 'python
> >    :safe 'stringp)
> >  
> > -(defcustom python-shell-interpreter-args "-i"
> > +(defcustom python-shell-interpreter-args
> > +  (if (eq system-type 'windows-nt) "-i -u" "-i")
> >    "Default arguments for the Python interpreter."
> >    :type 'string
> >    :group 'python)
> >
> 
> That makes things a little bit more annoying for the user as it breaks
> changing from python to ipython easily since latter doesn't support the
> "-u" switch.
> 
> I'll check this over the weekend to see if there's a better way to solve
> this hang on Windows.
> 
> 
> Thanks,
> Fabián
> 





This bug report was last modified 10 years and 248 days ago.

Previous Next


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