Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
KORraN
· 11mo ago · 0 comments
The comment you mention applies to source code encoding and it's obsolete for Python 3 since the beginning. This is about something else:
https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-...
Comments
[–]
franga2000
11mo ago
Makes sense, my bad, but even that is something I've never seen. I guess this is mostly a Windows thing? I've luckily never had the misfortune of having to deploy Python code on Windows.
[–]
ruuda
11mo ago
It's a Linux thing too. It bit me in particular when running a script in a container that defaulted to ascii rather than utf-8 locale.