← 返回首页
bpo-46668: Remove the mbcs alias by vstinner · Pull Request #31174 · 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-46668: Remove the mbcs alias#31174

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:remove_mbcs_alias
Closed

bpo-46668: Remove the mbcs alias#31174
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:remove_mbcs_alias

Conversation

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

Copy link
Copy Markdown
Member

Python no longer creates an alias for the ANSI code page to the
"mbcs" codec: always use the Python implementation of the code page.

https://bugs.python.org/issue46668

Python no longer creates an alias for the ANSI code page to the "mbcs" codec: always use the Python implementation of the code page.

vstinner commented Feb 6, 2022

Copy link
Copy Markdown
Member Author

This change reverts the Python 3.10 behavior, since the _alias_mbcs() function was never used previously.

@eryksun: Would you mind to review/test this change?

Copy link
Copy Markdown
Member Author

I merged GH-31218 instead.

vstinner closed this Feb 23, 2022
vstinner deleted the remove_mbcs_alias branch February 23, 2022 17:14
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.