BLOG
Enjoy when you can, and endure when you must.
JUL 31, 2014/Python
Segmentation Fault: 11
今天同事在Mac上使用Python遇到一个问题,在Terminal中运行Python,执行第二条语句时就会提示Segmentation Fault: 11,然后直接崩溃。发生问题的Python版本是2.7.5,这在之前确实没有遇到过,于是Google一下,发现这是一个bug引起的。以下是该问题的描述(来自http://bugs.python.org/issue18458):Modules/readline.c contains a workaround for a bug in the readline emulation of libedit: that emulation uses ...
1