PEP suggestion: Uniform way to indicate Python language version

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Fri Sep 9 20:50:24 EDT 2016


On Tuesday, August 23, 2016 at 2:30:10 AM UTC+12, Random832 wrote:
> Receiving a SyntaxError or whatever other exception, which provides no
> suggestion about how to actually fix the issue (install a later version
> of python / run with "python3" instead of "python"), is a bad user
> experience.

When people say “user experience”, that immediately brings to mind the kinds of long-winded messages that Microsoft Windows might put out, that nobody pays attention to, because in trying to be “friendly” and “approachable” they become effectively meaningless.

At least the SyntaxError exception, with traceback, will give you some details about what went wrong. The “user” having the “experience” doesn’t need to understand the message to be able to copy and paste it into a bug report, and the developer(s) will then have some information to at least make a start on figuring out the problem.



More information about the Python-list mailing list