[Subversion] / PEAK / src / peak / util / readline_stack.py |
No default branch
Bookmark a link to HEAD:
(view)
(download)
(as text)
Removed redundant option settings; fix to handle cases where readline history is cleared between calls to '_closeHistory()', resulting in a negative number of "lines added" to the history.
Changes to readline management so that history files don't become excessively large when switching between interactors (e.g. N2 namespace, python, and SQL modes). Unfortunately, these changes only work with Python 2.3 (or 2.2.3 with a custom patch to the readline module).
add default paramaters to pushRLHistory() except for filename. Add a new parameter for the history file length limit in lines, defaulting to -1 (unlimited) Add a docstring for pushRLHistory()
Move n2's rlhist to peak.util.readline_stack, as it's a generic not-n2-specific utility thing that someone might want to use elsewhere.
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |