Antoine Pitrou added the comment: > The patch fixes the problem on my setup. A very minor glitch: after > manually emptying or removing the PYTHONSTARTUP history file, the > history is loaded with the content of ~/.python_history on the next > session.
Yes, the only way to know if a history file has already been loaded with readline seems to be to query the history itself. So, if the history is empty, we consider no file has been loaded. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5845> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com