A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-August/037841.html below:

[Python-Dev] readline.clear_history()

[Python-Dev] readline.clear_history() [Python-Dev] readline.clear_history()Phillip J. Eby pje at telecommunity.com
Wed Aug 27 17:40:10 EDT 2003
I've been working on a set of Python tools that use readline, but want to 
keep history separate between different interaction modes.  Unfortunately, 
this really needs to be able to access readline's clear_history(), as 
read_history_file() leaves existing history intact.

I'd be happy to whip up a patch to add this (as readline.clear_history()), 
but I was wondering if perhaps the reason it's not currently exported by 
the readline module is a compatibility issue for older readline 
implementations that are officially supported.  Thanks.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4