Ned Deily added the comment:

Until the updated readline module is available in python.org 2.7.6 and 3.3.3 
maintenance releases, here is a script that will check python.org versions of 
Python 2.7.x, 3.2.x, 3.3.x, and 3.4.x for interactive crashes and will patch 
around the problem as needed.  On most systems you will need to run it under an 
account with administrator privileges.

To use it, open a terminal session in Terminal.app (or other shell), then enter:

curl -O http://bugs.python.org/file32324/patch_readline_issue_18458.sh
openssl sha1 patch_readline_issue_18458.sh
# the digest should be 7cb0ff57820a027dd4ca242eb2418930f8f46b4c
sh ./patch_readline_issue_18458.sh


The output on a 10.9 system with python.org 2.7.5, 3.3.2, and 3.4.0a4 installed 
should look something like this:

 -- running on OS X 10.9
 -- 2.7 crashed
 -- 2.7 moving readline extension to 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so.disabled
 -- need to patch. Enter password if prompted
Password:
 -- 2.7 is now patched
 -- 3.2 not found - skipped
 -- 3.3 crashed
 -- 3.3 moving readline extension to 
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/readline.so.disabled
 -- 3.3 is now patched
 -- 3.4 does not need to be patched - skipped
 -- done

----------
title: interactive interpreter crashes and test_readline fails with newer 
versions of libedit -> interactive interpreter crashes and test_readline fails 
on OS X 10.9 Mavericks due to libedit update

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18458>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to