[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2021-08-28 Thread Ned Deily
Change by Ned Deily : -- pull_requests: -26463 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2021-08-28 Thread Diana
Change by Diana : -- nosy: +DonnaDia nosy_count: 3.0 -> 4.0 pull_requests: +26463 pull_request: https://github.com/python/cpython/pull/28018 ___ Python tracker ___

[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2015-06-05 Thread Ned Deily
Ned Deily added the comment: The change in spec in editline was to better match GNU readline behavior. Unfortunately, we depended on the old behavior. Technically, we don't support editline out-of-the-box other than on OS X; as Martin notes, generalizing that support is what Issue13501 is ab

[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2015-06-05 Thread Martin Panter
Martin Panter added the comment: See also Issue 13501 for a more platform-independent approach. I think this crash is actually due to a bug in Editline (later fixed; see Issue 18458), but since Python already has the workaround, it makes sense to use the workaround if necessary for Free BSD, o

[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2015-06-05 Thread Ed Maste
Ed Maste added the comment: Presumably the #ifdefs ought to just be deleted though, relying on the runtime detection of libedit compatibility issues on any platform. -- ___ Python tracker _

[issue24388] Python readline module crashes in history_get on FreeBSD with libedit

2015-06-05 Thread Ed Maste
New submission from Ed Maste: I encountered a segfault in Python's call_readline from LLDB on FreeBSD, with libedit. There is a fix for this issue already in readline.c, but under #ifdef __APPLE__ Backtrace: (lldb) target create "/data/emaste/src/llvm/build/bin/lldb" --core "lldb-3.7.0.core"