]> granicus.if.org Git - python/commitdiff
whatsnew: cp273 codec (#10907797)
authorR David Murray <rdmurray@bitdance.com>
Sat, 8 Mar 2014 02:00:34 +0000 (21:00 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sat, 8 Mar 2014 02:00:34 +0000 (21:00 -0500)
Also updated the docs and added the aliases mentioned by the
references.

Doc/library/codecs.rst
Doc/whatsnew/3.4.rst
Lib/encodings/aliases.py

index 843de27ae35b517f23716ea5a2a60cb107dd08cf..3729dac8ae5c48c57656d8dc84cb29a2192dd2ab 100644 (file)
@@ -971,6 +971,10 @@ particular, the following variants typically exist:
 +-----------------+--------------------------------+--------------------------------+
 | cp037           | IBM037, IBM039                 | English                        |
 +-----------------+--------------------------------+--------------------------------+
+| cp273           | 273, IBM273, csIBM273          | German                         |
+|                 |                                |                                |
+|                 |                                | .. versionadded:: 3.4          |
++-----------------+--------------------------------+--------------------------------+
 | cp424           | EBCDIC-CP-HE, IBM424           | Hebrew                         |
 +-----------------+--------------------------------+--------------------------------+
 | cp437           | 437, IBM437                    | English                        |
index c8c47e0f9a1aab5d674fef912ea5e842cb4dafbf..1bda6fa0fcb7a69eb8d99cc088ff4d0cf9214a0e 100644 (file)
@@ -364,6 +364,9 @@ Some smaller changes made to the core Python language are:
   Contributed by Victor Stinner, Kang-Hao (Kenny) Lu and Serhiy Storchaka in
   :issue:`12892`.
 
+* New EBCDIC :ref:`codec <standard-encodings>` ``cp273``.  (Contributed by
+  Michael Bierenfeld and Andrew Kuchling in :issue:`1097797`.)
+
 
 
 New Modules
index 5461aa053a4a66ce07a12f9c9ccb64ddbc6272d1..4cbaadea3ee60267483e70699c3ad931a46a298a 100644 (file)
@@ -109,6 +109,11 @@ aliases = {
     '1258'               : 'cp1258',
     'windows_1258'       : 'cp1258',
 
+    # cp273 codec
+    '273'                : 'cp273',
+    'ibm273'             : 'cp273',
+    'csibm273'           : 'cp273',
+
     # cp424 codec
     '424'                : 'cp424',
     'csibm424'           : 'cp424',