Message254871
I think this might just be a side effect of the way we abuse the tab completer to insert a literal tab (Issue 23441, revision 82ccdf2df5ac). If I change the code to insert the letter T instead of tabs:
if not text.strip('T'):
if state == 0:
return text + 'T'
else:
return None
I see this behaviour:
* Manually type three Ts
* Press Tab once, a fourth T is added nicely
* Press Tab a second time, it beeps and displays a completion list with a single item, and then completes my line to five Ts
* Pressing Tab again repeats the beep, completion list, and appending a T
Illustration:
>>> TTTT <== Typed T three times, then Tab twice
TTTTT <== Completion list from second Tab press
>>> TTTTT
TTTTTT
>>> TTTTTT |
|
Date |
User |
Action |
Args |
2015-11-19 01:32:33 | martin.panter | set | recipients:
+ martin.panter, ronaldoussoren, ned.deily, r.david.murray, serhiy.storchaka, yselivanov |
2015-11-19 01:32:33 | martin.panter | set | messageid: <1447896753.08.0.0148359770413.issue25660@psf.upfronthosting.co.za> |
2015-11-19 01:32:33 | martin.panter | link | issue25660 messages |
2015-11-19 01:32:31 | martin.panter | create | |
|