Martin Panter
aac9b71632
Issue #19884 : Merge Readline updates from 3.5
2016-08-27 04:03:26 +00:00
Martin Panter
c427b8d517
Issue #19884 : Avoid spurious output on OS X with Gnu Readline
...
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
2016-08-27 03:23:11 +00:00
Martin Panter
34f12d7315
Issue #16182 : Merge test_readline from 3.5
2016-06-14 11:31:39 +00:00
Martin Panter
a8cadb2243
Issue #16182 : One more check for set_pre_input_hook()
2016-06-14 11:29:31 +00:00
Martin Panter
6d1d2f229e
Issue #16182 : Merge readline update from 3.5
2016-06-14 08:49:51 +00:00
Martin Panter
6afbc653a7
Issue #16182 : set_pre_input_hook() may not exist; document, and update test
2016-06-14 08:45:43 +00:00
Martin Panter
8e4b7ac7fe
Issue #16182 : Merge test_readline from 3.5
2016-06-14 05:46:17 +00:00
Martin Panter
056f76d978
Issue #16182 : Attempted workarounds for Apple Editline
2016-06-14 05:45:31 +00:00
Martin Panter
4074f93b33
Issue #16182 : Merge readline locale fix from 3.5
2016-06-14 02:47:56 +00:00
Martin Panter
f00c49df10
Issue #16182 : Fix readline begidx, endidx, and use locale encoding
...
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Martin Panter
79f561d126
Issue #26870 : Poll() also fails on OS X; try select()
...
Also work around separate Open BSD bug with kill() of a zombie.
2016-05-15 15:04:58 +00:00
Martin Panter
2e1d8683c1
Issue #26870 : Avoid using kqueue() with pseudo-terminals
...
Also force terminate the child process in case it hangs for any reason.
2016-05-15 13:21:25 +00:00
Martin Panter
3e2a0715d7
Issue #26870 : Temporary debugging for OS X Snow Leopard lockup
2016-05-15 03:59:59 +00:00
Martin Panter
3712686956
Issue #26870 : Close pty master in case of exception
2016-05-15 03:05:36 +00:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Berker Peksag
ce643913a9
Issue #9517 : Move script_helper to the support package.
...
Patch by Christie Wilson.
2015-05-06 06:33:17 +03:00
Zachary Ware
38c707e7e0
Issue #21741 : Update 147 test modules to use test discovery.
...
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.
2015-04-13 15:00:43 -05:00
Ned Deily
8007cbc4d5
Issue 22940: fixes to editline support
2014-11-26 13:02:33 -08:00
Benjamin Peterson
12abc86903
merge 3.4
2014-11-26 14:36:08 -06:00
Benjamin Peterson
5b5350787f
use skipUnless
2014-11-26 14:35:56 -06:00
Benjamin Peterson
d1e22ba7db
only support append_history if readline has it
2014-11-26 14:35:12 -06:00
Benjamin Peterson
33f8f15bdd
add readline.append_history_file ( closes #22940 )
...
patch by "bru"
2014-11-26 13:58:16 -06:00
Antoine Pitrou
7e8b8678f1
Issue #22773 : fix failing test with old readline versions due to issue #19884 .
2014-11-04 14:52:10 +01:00
Victor Stinner
a3c80ce8b7
Issue #19884 : readline: Disable the meta modifier key if stdout is not a
...
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.
2014-07-24 12:23:56 +02:00
Georg Brandl
7b250a5cff
Revert 961a15aff2a6, this is already checked in another way.
2012-08-11 11:02:14 +02:00
Georg Brandl
22bfa37ed0
Closes #15620 : check for presence of readline.clear_history(), which is apparently missing on some readline versions, before calling it in the test.
2012-08-11 10:59:23 +02:00
R David Murray
f8b9dfd9a1
#11496 : skip history test if clear_history is not available.
...
Patch by Natalia B. Bidart.
2011-03-14 17:10:22 -04:00
Mark Dickinson
2d7062e1b4
Merged revisions 75711 via svnmerge from
...
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.
........
2009-10-26 12:01:06 +00:00
Ronald Oussoren
2efd924754
Merged revisions 74970 via svnmerge from
...
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.
........
2009-09-20 14:53:22 +00:00