Skip to content

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 vstinner marked this pull request as ready for review June 24, 2022 16:20
vstinner added 2 commits June 26, 2022 10:39
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

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
@vstinner vstinner deleted the locale_format branch June 26, 2022 10:41
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.

3 participants