Readline/command history w/ interactive prompt

Skip Montanaro skip at pobox.com
Wed Apr 17 13:39:13 EDT 2002


    Andy> One of the things I find "warty" about the interactive prompt is
    Andy> that the command-line history retains multiple copies of identical
    Andy> successive lines, rather than trimming them down to a single
    Andy> instance.

See if the attached patch works for you.  If so, I'll submit it to SF.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readline.diff
Type: test/plain
Size: 1359 bytes
Desc: patch for readline to suppress duplicate history entries
URL: <http://mail.python.org/pipermail/python-list/attachments/20020417/f06952bd/attachment.bin>


More information about the Python-list mailing list