On Mon, Nov 29, 2010 at 6:58 PM, Larry Bugbee <[email protected]> wrote:
> On Nov 29, 2010, at 1:32 PM, David Dyck wrote:
> On Mon, Nov 29, 2010 at 3:05 AM, Larry Bugbee <[email protected]> wrote:
>> When running the 2.7.1 interpreter (>>>) the up arrow does not fetch the
>> previous command.  (2.6.1 and 2.5.4 work just fine.)  I've run into this
>> before, years ago, but do not remember the fix.  libreadline.dylib is in
>> /usr/lib.  Nothing in .../Python-2.7.1/Mac/README.
>
> Were you asking about "readline" functionality?
>   http://docs.python.org/library/readline.html
> http://www.google.com/search?q=+python+readline
>
> Thanks, I saw those and all that I looked at...  No Joy.  They had to do
> with importing and using the readline package, not getting readline to work
> as part of the interpreter when running in Terminal at the >>> prompt.

I'm not at my Mac right now to check it out myself, but this looks
like it might be related to this issue:

    http://bugs.python.org/issue6877

This was fixed in the trunk for 2.7 and backported to 2.6.5, so the
behaviour you're seeing could be a regression, but take a look at your
./configure command line--there are a couple of command lines in this
comment:

    http://bugs.python.org/issue6877#msg98858

None of them look directly related to readline, but
MACOSX_DEPLOYMENT_TARGET=10.6 could have some effect.

  - Bradey

Reply via email to