News for hackers. Stuff that matters.
Re:Python 3: Ten years later by imtringued on Sunday December 23, 2018 @10:12AM (#18746478)
Well as you can see the problem is that open without encoding arguments uses the system default settings (in this case cp1252) which is always a terrible idea regardless of how a language represents strings internally.

Honestly it surprises me how simple and easy it is to understand this trace and I'd agree with the statement that this is a good user experience.

Re:Python 3: Ten years later by slavik81 on Wednesday December 26, 2018 @07:00PM (#18765993)
It's acceptable for developers, but when I say "user friendly" I mean friendly to end users, who may not even know that the program is written in Python. A better message would tell users in plain language what the problem is and how they could fix it (e.g. by setting a flag or an environment variable).