OSX readline detection fails in the debugger
Bug #411599 reported by
Boyd Waters
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
On Mon, Aug 10, 2009 at 11:59 AM, Darrell Schiebel<email address hidden> wrote:
Hi Boyd,
I don't know how you contributed this patch... but I found that when I was
running in the debugger it was failing with an "interrupted system call"
when you use otool to try and find out if readline or libedit is being
used. I put in a try block to continue trying when this error occurs. Below
is the change, if you still recall how you submitted this patch... could you
submit an addendum?
To post a comment you must log in.
Fix pushed:
- trunk, r1244
- 0.10.1, r1226
Note that I changed the 'while True' to a 'range(10)' loop; I'm always worried about an infinite loop with 'while True' code. Let me know if you disagree (and why the 'while True' form would be safe).
Thanks for the patch!