3 ms·
You mean the coding= comment? Where are you shipping your code that that was actually a problem? I've never been on a project where we did that, let alone neede
by franga2000 10mo ago
You mean the coding= comment? Where are you shipping your code that that was actually a problem? I've never been on a project where we did that, let alone needed it.
- KORraN 10mo agoThe 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-utf8-default https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-...
- franga2000 10mo agoMakes 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 10mo agoIt'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.