https://github.com/python/cpython/commit/7558980a18b5573aac19b37535780a02bf918f89
commit: 7558980a18b5573aac19b37535780a02bf918f89
branch: main
author: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) 
<thatiparthysreeni...@gmail.com>
committer: corona10 <donghee.n...@gmail.com>
date: 2025-03-19T18:29:20+09:00
summary:

GH-131358: Add encoding alias cseuckr for euc_kr (#131370)

* Add encoding alias cseuckr for euc_kr

* Update Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst

Co-authored-by: Bénédikt Tran <10796600+picn...@users.noreply.github.com>

---------

Co-authored-by: Bénédikt Tran <10796600+picn...@users.noreply.github.com>

files:
A Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst
M Lib/encodings/aliases.py

diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 6a5ca046b5eb6c..664b317697eb95 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -241,6 +241,7 @@
     'ks_c_5601_1987'     : 'euc_kr',
     'ksx1001'            : 'euc_kr',
     'ks_x_1001'          : 'euc_kr',
+    'cseuckr'            : 'euc_kr',
 
     # gb18030 codec
     'gb18030_2000'       : 'gb18030',
diff --git 
a/Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst 
b/Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst
new file mode 100644
index 00000000000000..870d025f4b7d8f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst
@@ -0,0 +1 @@
+Register ``cseuckr`` as an encoding alias for ``euc_kr``.

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to