Martin Panter added the comment:
This seems like something that should be fixed in Readline, rather than Python.
Judging by the rl_clear_history() documentation, it sounds like this is private
data. Maybe we need a version of rl_free_undo_list() that works for old history
items, or a Readline
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
stage: - patch review
versions: -Python 2.6, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12186
___
stefanholek ste...@epy.co.at added the comment:
These undo lists come into existence when history entries are edited
interactively (Arrow-Up, edit line, Arrow-Up, edit line, Enter - undo list of
first history entry leaks).
--
components: +Extension Modules
versions: +Python 2.6,
New submission from stefanholek ste...@epy.co.at:
This is a continuation of issue #9450.
The 'data' element of a history entry may point to an undo list for the entry.
When freeing the entry the associated undo list must be freed as well, and
'free(data)' alone does not cut it. I have not