gh-140924: In locale module, add missing functions to __all__#140925
gh-140924: In locale module, add missing functions to __all__#140925guoci wants to merge 11 commits intopython:mainfrom
locale module, add missing functions to __all__#140925Conversation
cmaloney
left a comment
There was a problem hiding this comment.
I think this is a good improvement as is, localize and delocalize are both documented functions in the module.
https://docs.python.org/3/library/locale.html#locale.delocalize
https://docs.python.org/3/library/locale.html#locale.localize
|
I think you want the test to be in a separate PR, I will revert the "add test" commit. |
|
I hadn't realized how long the list of entries expected to be left out was for this module... I'm planning to propose a more general that that covers every stdlib module which uses |
|
cc: @malemburg (Experts index for locale) |
|
These API are available in the
(there may be more - I currently only have access to Python 3.12) Out of these I found these to be undocumented / only used internally:
|
|
Here's a quick script to check these things: |
|
Does this PR need any more modification? |
It would be good to add the missing attributes to |
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @malemburg: please review the changes made to this pull request. |
|
@malemburg is that ok? |
|
This PR is stale because it has been open for 30 days with no activity. |
|
@serhiy-storchaka (made recent changes to |
localemodule, add missing functions to__all__#140924