-
Notifications
You must be signed in to change notification settings - Fork 1.3k
locale support including _locale and time.tzname #3850
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
Comments
https://docs.python.org/3/library/time.html#time.tzname The doc says RustPython/vm/src/stdlib/time.rs Lines 9 to 17 in 77b821a
|
If we are talking about holding states such as |
It may not be exactly, but you can regard it is. |
And yes. #4054 is generally related to module attributes and hidden data like Info types in sys module. |
Noticed quite a few functions in CPython Locale are not implemented in locale.rs. I don't have much experience with this type of work but would the general idea be to write a wrapper for say: GetLocaleIInfoA since it is used throughout CPython's implementation of |
You are on Windows right? I haven't looked into how CPython does it (am out atm) but if this is calling some os provided function then yes, we typically wrap it and call into it after converting the args. The function to be wrapped should be in windows.rs? |
That's right, and gotcha. Looks like libc has bindings for EDIT: Not all obviously, but no binding for |
|
Uh oh!
There was an error while loading. Please reload this page.
_locale
moduleThe text was updated successfully, but these errors were encountered: