I agree, don't use the old style syntax to capture the exception extra data, use ```except EOFError as e```.

Usage of ```'...: {!r}`.format(e.message))``` does the job nicely!