-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locale.setlocale example incorrect #85204
Comments
The example given results in an error. https://docs.python.org/3.8/library/locale.html?highlight=locale
I could be improved with one of the following versions:
|
Hi Marco, Can I work on this? |
I have only reported the bug and do not know exactly how to proceed. I don't think there's anything wrong with taking over the bug. |
The example seems to fail on Ubuntu, but runs on Windows - there is a comment right above the line that says |
This is still not a universal fix and UTF-8 locale on windows are quite a new thing. There is no "universal" fix that will cover all platforms that I know of and the current comment that covers this is fine. |
Depends on what locales are installed; on a minimal Ubuntu container not even |
Adding an other example from #91343 (comment):
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: