unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Love <fx@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Max Arnold <lwarxx@gmail.com>,
	"5794@debbugs.gnu.org" <5794@debbugs.gnu.org>
Subject: bug#5794: 23.1; UnicodeEncodeError in python-shell
Date: Tue, 13 Apr 2010 00:04:58 +0100	[thread overview]
Message-ID: <87633w5l2d.fsf@liv.ac.uk> (raw)
In-Reply-To: <20100329043809.GA5325@bbone>

Chong Yidong <cyd@stupidchicken.com> writes:

> This is due to the following line in `run-python', which I merged from
> the upstream python.el on 2008-02-21:
>
>        ;; Suppress use of pager for help output:
>        (process-connection-type nil))
>
> Dave, do you remember what the rationale for this is?  (I don't
> understand the comment.)

It's the most likely way to suppress interactive i/o generally, which is
why it should normally be used for inferior interpreters and things like
VC, apart from the reasons in the manual to avoid PTYs.

> I'm not sure why using a pipe rather than a pty makes a difference,
> though.

It's certainly odd behaviour, but as you're dropping python.el for
python-mode.el, you needn't worry about it.  Amongst other things,
python-mode.el doesn't have the features that require results from the
sub-process.






  parent reply	other threads:[~2010-04-12 23:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29  4:38 bug#5794: 23.1; UnicodeEncodeError in python-shell Max Arnold
2010-04-10 18:21 ` Chong Yidong
2010-04-11  2:47   ` Max Arnold
2010-04-12 23:04 ` Dave Love [this message]
2010-04-12 23:08 ` Dave Love
2010-08-24 20:22 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87633w5l2d.fsf@liv.ac.uk \
    --to=fx@gnu.org \
    --cc=5794@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=lwarxx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).