Message 198653 - Python tracker
> 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.