News for hackers. Stuff that matters.
Re:What’s New in Python 3.7 by coldtea on Sunday September 17, 2017 @11:58AM (#15270198)
Isn't ASCII a strict subset of UTF-8?

If anything this should make sure programs don't break because they read some utf-8 extended character when expecting just ascii -- which is the most common case.

Re:What’s New in Python 3.7 by fulafel on Monday September 18, 2017 @02:17AM (#15273742)
I didn't say it's a bad change!

But since you raise the issue, there are downsides: Many programs developed on 3.7 will inadvertently break on pre-3.7 Python versions. As we know, this is a big thing on parts of the Python ecosystem because users frequently rely on the Python version that come with their OS or framework (eg AWS Lambda), and many developers want to stay compatible with the most common platform-shipped Python versions.

Re:What’s New in Python 3.7 by ericfrederich on Tuesday September 19, 2017 @08:56AM (#15284180)
It's a good assumption for 3.7. In isolation this is a pragmatic decision and makes sense.

You are correct though. A .py file which uses non-ascii and doesn't declare the encoding should be considered an error though. Hopefully everybody's dev tools will pick this up (even on 3.7 where they wouldn't need to)