On 12/28/05, Walter Dörwald <[EMAIL PROTECTED]> wrote: ... > We have sys.displayhook and sys.excepthook. Why not add a sys.inputhook?
Sure, particularly with Nick's suggestion for a default input hook it would be fine. > > sessions in which I want to perform some action repeatedly, and > > currently the least typing is 4 characters (x()<enter>) while this would > > reduce it to two > > What's wrong with <cursor up>, <return>? The fact that there is no upper bound to the number of cursor-up keystrokes needed here -- by "perform some action repeatedly" I don't mean "half a dozen times right after each other with nothing in-between" (sorry for the ambiguous phrasing), but "numerous times, repeatedly in the course of an interactive interpreter session". Alex _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com