Message201087
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 |
|
Date |
User |
Action |
Args |
2013-10-24 03:08:00 | ned.deily | set | recipients:
+ ned.deily, jcea, ronaldoussoren, nneonneo, mkleehammer, python-dev |
2013-10-24 03:08:00 | ned.deily | set | messageid: <1382584080.18.0.635969958528.issue18458@psf.upfronthosting.co.za> |
2013-10-24 03:08:00 | ned.deily | link | issue18458 messages |
2013-10-24 03:07:59 | ned.deily | create | |
|