Message325282
> LC_CTYPE=C PYTHONCOERCECLOCALE=0 python3 -E ...
The UTF-8 Mode has the same behavior: PYTHONUTF8 env var is ignored when using -E, but enabled by the C locale: you can use -X utf8=0 in that case to ensure that the UTF-8 Mode is disabled.
I wanted to propose you to add a new -X option, ex: -X coerce_c_locale=0, which would have the priority over the environment variable. I'm not a big fan of env vars, it's not always convenient to use them. I prefer an env var, but both are even better :-) |
|
Date |
User |
Action |
Args |
2018-09-13 18:50:29 | vstinner | set | recipients:
+ vstinner, ncoghlan, ned.deily |
2018-09-13 18:50:29 | vstinner | set | messageid: <1536864629.69.0.956365154283.issue34589@psf.upfronthosting.co.za> |
2018-09-13 18:50:29 | vstinner | link | issue34589 messages |
2018-09-13 18:50:29 | vstinner | create | |
|