Zachary Ware added the comment:
If you're using OS X 10.9+, you'll need to upgrade your Python installation.
See #18458.
--
nosy: +zach.ware
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> interactive interpreter crashes and test_readline
New submission from Mayank Gupta:
If I open the python interpreter:
$ python
Then type
def to_hex(i):
result = hex(i)[2:]
My interpreter segfaults (EXC_BAD_ACCESS).
Here's a backtrace from lldb:
(lldb) bt
* thread #1: tid = 0x152e7f, 0x0001002eff97 readline.so`call_readline +
647, queue =