This patch adds a 'clear_history()' function to the readline module if the linked-to GNU readline library supports it. (See recent discussion on Python-Dev.) The attached patches are: rl23.txt - patch to readline.c based on current Python CVS HEAD rl223.txt - patch to readline.c based on Python 2.2.3 source distribution rldoc.txt - patch to add docs to Doc/lib/libreadline.tex