[issue20411] IndexError in sys.__interactivehook__ with pyreadline installed

Jason R. Coombs report at bugs.python.org
Tue Jan 28 15:19:58 CET 2014


Jason R. Coombs added the comment:

After further consideration and investigation, I believe the fix is to simply use the API as exposed by pyreadline to check the length of the history to detect the presence of an existing history. I've tested that fix locally and it seems to be working suitably. Please review and suggest corrections as appropriate.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20411>
_______________________________________


More information about the Python-bugs-list mailing list