clear the last exception on interactive mode with Python 2