Skip to content
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

gh-94226: Remove the locale.format() function #94229

Merged
merged 2 commits into from Jun 26, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 24, 2022

Remove the locale.format() function, deprecated in Python
3.7: use locale.format_string() instead.

Remove TestFormatPatternArg test case: it is irrelevant for
locale.format_string() which accepts complex formats.

vstinner added 2 commits Jun 26, 2022
Remove the locale.format() function, deprecated in Python
3.7: use locale.format_string() instead.

Remove TestFormatPatternArg test case: it is irrelevant for
locale.format_string() which accepts complex formats.
@vstinner
Copy link
Member Author

vstinner commented Jun 26, 2022

PR rebased to fix Doc/whatsnew/3.12.rst conflict, I also fixed locale.__all__.

@vstinner vstinner merged commit cc0d5e5 into python:main Jun 26, 2022
14 checks passed
@vstinner vstinner deleted the locale_format branch Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants