← 返回首页
bpo-46659: test.support avoids locale.getdefaultlocale() by vstinner · Pull Request #31167 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

bpo-46659: test.support avoids locale.getdefaultlocale()#31167

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:support_getdefaultlocale
Feb 6, 2022
Merged

bpo-46659: test.support avoids locale.getdefaultlocale()#31167
vstinner merged 1 commit into
python:mainfrom
vstinner:support_getdefaultlocale

Conversation

vstinner commented Feb 6, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

skip_if_buggy_ucrt_strfptime() of test.support now uses
locale.getpreferredencoding(False) instead of
locale.getdefaultlocale() to get the Windwos code page.

https://bugs.python.org/issue46659

skip_if_buggy_ucrt_strfptime() of test.support now uses locale.getpreferredencoding(False) instead of locale.getdefaultlocale() to get the Windwos code page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Footer

© 2026 GitHub, Inc.