Skip to content

gh-149801: Add IANA registered names and aliases with leading zeros#149804

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:ancoding-aliases-cp858-cp1140
May 15, 2026
Merged

gh-149801: Add IANA registered names and aliases with leading zeros#149804
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:ancoding-aliases-cp858-cp1140

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented May 13, 2026

Like IBM00858, CP00858, IBM01140, CP01140.

…eros

Like IBM00858, CP00858, IBM01140, CP01140.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 13, 2026
Comment thread Doc/library/codecs.rst
| cp857 | 857, IBM857 | Turkish |
+-----------------+--------------------------------+--------------------------------+
| cp858 | 858, IBM858 | Western Europe |
| cp858 | 858, IBM00858 | Western Europe |
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not added all existing aliases (see #42237), just changed the documented ones to officially registered names.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but looking at the table, I think we should standardize on all lower case names. Perhaps we can do this in this PR or a separate one.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to standardize the case used in the IANA registry.

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32679500 | 📁 Comparing 764e44d against main (b6854c5)

  🔍 Preview build  

2 files changed
± library/codecs.html
± whatsnew/changelog.html

Comment thread Doc/library/codecs.rst
| cp857 | 857, IBM857 | Turkish |
+-----------------+--------------------------------+--------------------------------+
| cp858 | 858, IBM858 | Western Europe |
| cp858 | 858, IBM00858 | Western Europe |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but looking at the table, I think we should standardize on all lower case names. Perhaps we can do this in this PR or a separate one.

@serhiy-storchaka serhiy-storchaka merged commit 2043886 into python:main May 15, 2026
67 checks passed
@miss-islington-app
Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the ancoding-aliases-cp858-cp1140 branch May 15, 2026 11:34
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 15, 2026

GH-149870 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 15, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 15, 2026

GH-149871 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 15, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 15, 2026

GH-149872 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 15, 2026
serhiy-storchaka added a commit that referenced this pull request May 15, 2026
…zeros (GH-149804) (GH-149870)

Like IBM00858, CP00858, IBM01140, CP01140.
(cherry picked from commit 2043886)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request May 15, 2026
…zeros (GH-149804) (GH-149871)

Like IBM00858, CP00858, IBM01140, CP01140.
(cherry picked from commit 2043886)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request May 15, 2026
…zeros (GH-149804) (GH-149872)

Like IBM00858, CP00858, IBM01140, CP01140.
(cherry picked from commit 2043886)

Co-authored-by: Serhiy Storchaka <[email protected]>
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.

2 participants