From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18596: 25.0.50; MS-Windows needs a different default for python-shell-interpreter-args Date: Fri, 03 Oct 2014 11:15:00 +0300 Message-ID: <83d2a9in7f.fsf@gnu.org> References: <83oatvkemq.fsf@gnu.org> <87zjdeq8kj.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1412324187 6948 80.91.229.3 (3 Oct 2014 08:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2014 08:16:27 +0000 (UTC) Cc: 18596@debbugs.gnu.org To: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 10:16:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZy2F-00061j-GV for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 10:16:19 +0200 Original-Received: from localhost ([::1]:38476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy2F-0006Eb-3e for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 04:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy25-0006Aj-NV for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:16:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZy1y-0002KK-N6 for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:16:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy1y-0002KG-L6 for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZy1y-0000fK-99 for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Oct 2014 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14123241262515 (code B ref -1); Fri, 03 Oct 2014 08:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2014 08:15:26 +0000 Original-Received: from localhost ([127.0.0.1]:59778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZy1O-0000eV-1p for submit@debbugs.gnu.org; Fri, 03 Oct 2014 04:15:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34382) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZy1K-0000eL-KB for submit@debbugs.gnu.org; Fri, 03 Oct 2014 04:15:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZy1B-0001yH-9I for submit@debbugs.gnu.org; Fri, 03 Oct 2014 04:15:22 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy1B-0001y6-6g for submit@debbugs.gnu.org; Fri, 03 Oct 2014 04:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy15-0005cd-AJ for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:15:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZy0z-0001jZ-F1 for bug-gnu-emacs@gnu.org; Fri, 03 Oct 2014 04:15:07 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:57230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZy0z-0001jK-6p; Fri, 03 Oct 2014 04:15:01 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NCV0080002JJ400@a-mtaout23.012.net.il>; Fri, 03 Oct 2014 11:15:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCV008EZ08ZHO30@a-mtaout23.012.net.il>; Fri, 03 Oct 2014 11:15:00 +0300 (IDT) In-reply-to: <87zjdeq8kj.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94083 Archived-At: > From: fgallina@gnu.org (Fabi=C3=A1n Ezequiel Gallina) > Cc: bug-gnu-emacs@gnu.org > Date: Thu, 02 Oct 2014 21:51:40 -0300 >=20 > Eli Zaretskii writes: >=20 > > With the default value, 'run-python' hangs in accept-process-outp= ut. > > This fixes that for me: > > > > --- lisp/progmodes/python.el~0=092014-10-01 06:33:59 +0300 > > +++ lisp/progmodes/python.el=092014-10-01 18:10:48 +0300 > > @@ -1739,7 +1739,8 @@ > > :group 'python > > :safe 'stringp) > > =20 > > -(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) > > >=20 > That makes things a little bit more annoying for the user as it bre= aks > changing from python to ipython easily since latter doesn't support= the > "-u" switch. You could remove the -u when invoking ipython. > I'll check this over the weekend to see if there's a better way to = solve > this hang on Windows. Thanks.