New submission from Mark Dickinson <dicki...@gmail.com>: Some functions in the readline module appear to leak memory; readline.replace_history_item is one of these:
Test code: import readline readline.clear_history() readline.add_history("first line") readline.add_history("second line") while True: readline.replace_history_item(0, "replaced item") This is on OS X 10.6.4, with a 64-bit debug build of Python, and the readline module linked against a local build of GNU readline version 6.1. ---------- components: Extension Modules messages: 112363 nosy: mark.dickinson priority: normal severity: normal stage: needs patch status: open title: readline.replace_history_item leaks memory. type: resource usage versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9450> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com