Subject: Re: bug#10295: 24.0.92; Python completion fails on OSX (10.6.8)

From: Leo <[email-masked]>
Date: Tue, 17 Apr 2012 11:54:30 +0800

On 2012-01-27 16:03 +0800, Chong Yidong wrote:
> Hmm, I can't reproduce this on GNU/Linux.  The result of
> python-symbol-completions is always ("setdefault" "sys").

There are some difference on GNU/Linux and OSX regarding
process-send-string that causes the failure.

1. emacs -q
2. M-x comint-run RET python RET
3. M-: (process-send-string nil "import sys\n")

On GNU/Linux, `import sys\n' is not printed in the *python* buffer but
on OSX with the stock python, it is. See the attached screenshots. This
extra echoing is only with the python interpreter built by Apple.

Leo