Issue 19368: Seg Fault after upgrading to OS X Mavericks (original) (raw)
Upgraded to OS X Mavericks (not sure if this is what caused it or not).
Running Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13🔞45)
Python will seg fault when trying to evaluate the expression bool('False')
To reproduce, from terminal, launch Python, enter "bool('False')" without quotes and press enter.
This is a duplicate of Issue18458. The problem is due to an incompatible update to the GNU readline compatibility layer of the editline shared library (libedit) in OS X 10.9. The fix for this will be in the upcoming Python 2.7.6 and 3.3.3 maintenance releases, expected soon. In the meantime, you can avoid the crash by disabling the readline extension module (Issue18458 will be updated shortly to include a script to do this):
cd /Library/Frameworks/Python.framework/Versions/2.7 cd ./lib/python2.7/lib-dynload sudo mv readline.so readline.so.disabled