components/python/python27/patches/08-encoding-alias.patch
branchs11-update
changeset 3367 ed5024e47b53
parent 458 2edc011b559e
--- a/components/python/python27/patches/08-encoding-alias.patch	Fri Oct 03 14:30:07 2014 -0700
+++ b/components/python/python27/patches/08-encoding-alias.patch	Sat Oct 04 14:50:43 2014 -0700
@@ -1,6 +1,8 @@
-diff --git Python-2.6.4/Lib/encodings/aliases.py Python-2.6.4/Lib/encodings/aliases.py
---- Python-2.6.4/Lib/encodings/aliases.py
-+++ Python-2.6.4/Lib/encodings/aliases.py
+Add missing encoding aliases.  It may be contributed upstream at some point,
+but the suitability (or lack thereof) has not yet been determined.
+
+--- Python-2.7.6/Lib/encodings/aliases.py.~1~	2013-11-09 23:36:40.000000000 -0800
++++ Python-2.7.6/Lib/encodings/aliases.py	2014-05-14 13:12:20.046910463 -0700
 @@ -73,6 +73,7 @@
  
      # cp1251 codec
@@ -9,7 +11,7 @@
      'windows_1251'       : 'cp1251',
  
      # cp1252 codec
-@@ -217,6 +218,7 @@
+@@ -222,6 +223,7 @@
      'u_jis'              : 'euc_jp',
  
      # euc_kr codec
@@ -17,7 +19,7 @@
      'euckr'              : 'euc_kr',
      'korean'             : 'euc_kr',
      'ksc5601'            : 'euc_kr',
-@@ -457,6 +459,7 @@
+@@ -462,6 +464,7 @@
      'shiftjis'           : 'shift_jis',
      'sjis'               : 'shift_jis',
      's_jis'              : 'shift_jis',
@@ -25,7 +27,7 @@
  
      # shift_jis_2004 codec
      'shiftjis2004'       : 'shift_jis_2004',
-@@ -476,6 +479,7 @@
+@@ -481,6 +484,7 @@
      'tis_620_0'          : 'tis_620',
      'tis_620_2529_0'     : 'tis_620',
      'tis_620_2529_1'     : 'tis_620',