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 <>
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'
        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


>>> TTTT  <== Typed T three times, then Tab twice
TTTTT  <== Completion list from second Tab press
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: <>
2015-11-19 01:32:33martin.panterlinkissue25660 messages
2015-11-19 01:32:31martin.pantercreate