This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, ned.deily, r.david.murray, ronaldoussoren, serhiy.storchaka, yselivanov
Date 2015-11-19.01:32:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447896753.08.0.0148359770413.issue25660@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-11-19 01:32:33martin.pantersetrecipients: + martin.panter, ronaldoussoren, ned.deily, r.david.murray, serhiy.storchaka, yselivanov
2015-11-19 01:32:33martin.pantersetmessageid: <1447896753.08.0.0148359770413.issue25660@psf.upfronthosting.co.za>
2015-11-19 01:32:33martin.panterlinkissue25660 messages
2015-11-19 01:32:31martin.pantercreate