Author steven.daprano
Recipients belopolsky, cben, eric.araujo, ezio.melotti, flox, giampaolo.rodola, lesmana, loewis, mark.dickinson, ned.deily, pitrou, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka, steven.daprano, tshepang
Date 2013-05-06.12:46:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367844413.46.0.88202212782.issue5845@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not able to test the patch at the moment, but since it essentially just uses the recipe in the docs, I expect it will have the same side-effect. Namely, it prevents you using the tab key to indent in the interactive interpreter.

Now I don't know if I'm missing something painfully obvious, but having to bang out space-space-space-space for every indent is surely not going to be a win for usability ;-) Even if I am missing something, surely so will a lot of other users.

I use a readline completer that (in my opinion) does the Right Thing: at the start of the line, hitting TAB inserts a tab, otherwise it does completion. It also sets a history file, adds a couple of key bindings that I sometimes find useful, and wraps it all up in a class. (Attached.) If you think there is any value in this, I'm happy to update it to Python 3.3 and polish it up as a patch to the readline module. Or someone can just mine it for ideas.
History
Date User Action Args
2013-05-06 12:46:53steven.dapranosetrecipients: + steven.daprano, loewis, ronaldoussoren, mark.dickinson, cben, belopolsky, pitrou, giampaolo.rodola, ned.deily, ezio.melotti, eric.araujo, r.david.murray, flox, lesmana, tshepang, python-dev, serhiy.storchaka
2013-05-06 12:46:53steven.dapranosetmessageid: <1367844413.46.0.88202212782.issue5845@psf.upfronthosting.co.za>
2013-05-06 12:46:53steven.dapranolinkissue5845 messages
2013-05-06 12:46:53steven.dapranocreate