[issue8065] Memory leak in readline.get_current_history_length
Mark Dickinson
report at bugs.python.org
Tue Aug 3 18:57:10 CEST 2010
Mark Dickinson <dickinsm at gmail.com> added the comment:
I've fixed this leak in r83670 through r83672. It's still using the old, inefficient method (get the state, read the length, free the state), because without good tests I don't want to disturb things too much. In particular, it's not clear whether libedit keeps the history_length variable properly updated.
There are still the remaining issues of:
- better testing for the readline module, and
- attempting to work around libedit bugs.
Perhaps those should become separate issues, though?
----------
versions: +Python 2.7, Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8065>
_______________________________________
More information about the Python-bugs-list
mailing list