Message412826
| Author |
vstinner |
| Recipients |
eryksun, lemburg, serhiy.storchaka, vstinner |
| Date |
2022年02月08日.10:20:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1644315619.17.0.277113475693.issue46659@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Serhiy: "getdefaultlocale() falls back to LANG and LANGUAGE. It allows also to specify a list of looked up environment variables. How could this use case be covered with getlocale()?"
What's your use case to use env vars rather than the current LC_CTYPE locale?
My concern is that when setlocale() is called, the current LC_CTYPE locale is inconsistent and you can get mojibake and others issues.
See for example:
https://bugs.python.org/issue43552#msg389069
Marc-Andre Lemburg wants to deprecate it:
https://bugs.python.org/issue43552#msg389076 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年02月08日 10:20:19 | vstinner | set | recipients:
+ vstinner, lemburg, serhiy.storchaka, eryksun |
| 2022年02月08日 10:20:19 | vstinner | set | messageid: <1644315619.17.0.277113475693.issue46659@roundup.psfhosted.org> |
| 2022年02月08日 10:20:19 | vstinner | link | issue46659 messages |
| 2022年02月08日 10:20:19 | vstinner | create |
|