Make .pythonrc compatible with Python 3