Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29854: Skip history-size test on older readline (GH-2621) | Nir Soffer | 2017-07-08 | 1 | -0/+7 |
| | | | | | | | | Turns out that history-size was added in readline 6.0. This explain why this tests fail on FreeBSD when using readline 5.2. We skip now the history size if readline does not support it. See https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES for details. | ||||
* | bpo-29854: test_readline logs versions (#2619) | Victor Stinner | 2017-07-07 | 1 | -2/+18 |
| | | | | | * test_readline logs the versions of libreadline when run in verbose mode * Add also readline._READLINE_LIBRARY_VERSION | ||||
* | bpo-29854: Fix segfault in call_readline() (GH-728) | Nir Soffer | 2017-07-07 | 1 | -3/+40 |
| | | | | | | | | | | | | | If history-length is set in .inputrc, and the history file is double the history size (or more), history_get(N) returns NULL, and python segfaults. Fix that by checking for NULL return value. It seems that the root cause is incorrect handling of bigger history in readline, but Python should not segfault even if readline returns unexpected value. This issue affects only GNU readline. When using libedit emulation system history size option does not work. | ||||
* | Issue #19884: Merge Readline updates from 3.5 | Martin Panter | 2016-08-27 | 1 | -1/+1 |
|\ | |||||
| * | Issue #19884: Avoid spurious output on OS X with Gnu Readline | Martin Panter | 2016-08-27 | 1 | -1/+1 |
| | | | | | | | | | | Also adjust the test condition, because enable-meta-key was only added in 6.1, not 6.0. | ||||
* | | Issue #16182: Merge test_readline from 3.5 | Martin Panter | 2016-06-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #16182: One more check for set_pre_input_hook() | Martin Panter | 2016-06-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #16182: Merge readline update from 3.5 | Martin Panter | 2016-06-14 | 1 | -7/+15 |
|\ \ | |/ | |||||
| * | Issue #16182: set_pre_input_hook() may not exist; document, and update test | Martin Panter | 2016-06-14 | 1 | -7/+15 |
| | | |||||
* | | Issue #16182: Merge test_readline from 3.5 | Martin Panter | 2016-06-14 | 1 | -5/+13 |
|\ \ | |/ | |||||
| * | Issue #16182: Attempted workarounds for Apple Editline | Martin Panter | 2016-06-14 | 1 | -5/+13 |
| | | |||||
* | | Issue #16182: Merge readline locale fix from 3.5 | Martin Panter | 2016-06-14 | 1 | -6/+90 |
|\ \ | |/ | |||||
| * | Issue #16182: Fix readline begidx, endidx, and use locale encoding | Martin Panter | 2016-06-14 | 1 | -4/+137 |
| | | | | | | | | Based on patch by Serhiy Storchaka. | ||||
* | | Issue #26870: Poll() also fails on OS X; try select() | Martin Panter | 2016-05-15 | 1 | -6/+13 |
| | | | | | | | | Also work around separate Open BSD bug with kill() of a zombie. | ||||
* | | Issue #26870: Avoid using kqueue() with pseudo-terminals | Martin Panter | 2016-05-15 | 1 | -7/+7 |
| | | | | | | | | Also force terminate the child process in case it hangs for any reason. | ||||
* | | Issue #26870: Temporary debugging for OS X Snow Leopard lockup | Martin Panter | 2016-05-15 | 1 | -1/+6 |
| | | |||||
* | | Issue #26870: Close pty master in case of exception | Martin Panter | 2016-05-15 | 1 | -2/+5 |
| | | |||||
* | | Issue #26870: Add readline.set_auto_history(), originally by Tyler Crompton | Martin Panter | 2016-05-15 | 1 | -0/+49 |
|/ | |||||
* | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | Patch by Christie Wilson. | ||||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -5/+2 |
| | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
* | Issue 22940: fixes to editline support | Ned Deily | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | merge 3.4 | Benjamin Peterson | 2014-11-26 | 1 | -3/+3 |
|\ | |||||
| * | use skipUnless | Benjamin Peterson | 2014-11-26 | 1 | -3/+3 |
| | | |||||
* | | only support append_history if readline has it | Benjamin Peterson | 2014-11-26 | 1 | -0/+2 |
| | | |||||
* | | add readline.append_history_file (closes #22940) | Benjamin Peterson | 2014-11-26 | 1 | -1/+39 |
|/ | | | | patch by "bru" | ||||
* | Issue #22773: fix failing test with old readline versions due to issue #19884. | Antoine Pitrou | 2014-11-04 | 1 | -0/+4 |
| | |||||
* | Issue #19884: readline: Disable the meta modifier key if stdout is not a | Victor Stinner | 2014-07-24 | 1 | -5/+18 |
| | | | | | | terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit characters. | ||||
* | Revert 961a15aff2a6, this is already checked in another way. | Georg Brandl | 2012-08-11 | 1 | -3/+1 |
| | |||||
* | Closes #15620: check for presence of readline.clear_history(), which is ↵ | Georg Brandl | 2012-08-11 | 1 | -1/+3 |
| | | | | apparently missing on some readline versions, before calling it in the test. | ||||
* | #11496: skip history test if clear_history is not available. | R David Murray | 2011-03-14 | 1 | -0/+4 |
| | | | | Patch by Natalia B. Bidart. | ||||
* | Merged revisions 75711 via svnmerge from | Mark Dickinson | 2009-10-26 | 1 | -2/+3 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line Skip readline tests if readline module is not available. ........ | ||||
* | Merged revisions 74970 via svnmerge from | Ronald Oussoren | 2009-09-20 | 1 | -0/+42 |
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines Issue 6877: this patch makes it possible to link the readline extension to the libedit emulation of the readline API on OSX 10.5 or later. This also adds a minimal testsuite for readline to check that the history manipuation functions have the same interface with both C libraries. ........ |