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: Thu, 16 Oct 2014 13:22:27 +0300 Message-ID: <83bnpc48m4.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 1413455013 15616 80.91.229.3 (16 Oct 2014 10:23:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2014 10:23:33 +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 Thu Oct 16 12:23:26 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 1XeiDI-00067k-3I for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 12:23:20 +0200 Original-Received: from localhost ([::1]:49608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiDH-0000pi-Lq for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 06:23:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiD6-0000pc-UC for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:23:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeiD0-0005Uh-71 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:23:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiD0-0005UY-34 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XeiCz-0007d0-Ko for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Oct 2014 10:23:01 +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.141345497229307 (code B ref -1); Thu, 16 Oct 2014 10:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Oct 2014 10:22:52 +0000 Original-Received: from localhost ([127.0.0.1]:45279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeiCp-0007cc-BP for submit@debbugs.gnu.org; Thu, 16 Oct 2014 06:22:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57287) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XeiCn-0007cU-E3 for submit@debbugs.gnu.org; Thu, 16 Oct 2014 06:22:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeiCg-0005Cq-NE for submit@debbugs.gnu.org; Thu, 16 Oct 2014 06:22:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiCg-0005CW-LD for submit@debbugs.gnu.org; Thu, 16 Oct 2014 06:22:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiCa-0000p0-P3 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:22:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeiCR-0004r5-N1 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 06:22:36 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:57207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeiCR-0004qg-F5; Thu, 16 Oct 2014 06:22:27 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NDJ00I007YFQW00@mtaout27.012.net.il>; Thu, 16 Oct 2014 13:17:15 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDJ00A9R8KR6K90@mtaout27.012.net.il>; Thu, 16 Oct 2014 13:17:15 +0300 (IDT) In-reply-to: <87zjdeq8kj.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:94593 Ping! > 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. >=20 > I'll check this over the weekend to see if there's a better way to = solve > this hang on Windows. >=20 >=20 > Thanks, > Fabi=C3=A1n >=20