Commit 5a6214af authored by Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 81499,81506 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81499 | georg.brandl | 2010-05-24 16:29:07 -0500 (Mon, 24 May 2010) | 1 line

  #8016: add the CP858 codec (approved by Benjamin).  (Also add CP720 to the tests, it was missing there.)
........
  r81506 | benjamin.peterson | 2010-05-24 17:04:53 -0500 (Mon, 24 May 2010) | 1 line

  set svn:eol-style
........
parent 556d8001
...@@ -953,6 +953,8 @@ particular, the following variants typically exist: ...@@ -953,6 +953,8 @@ particular, the following variants typically exist:
+-----------------+--------------------------------+--------------------------------+ +-----------------+--------------------------------+--------------------------------+
| cp857 | 857, IBM857 | Turkish | | cp857 | 857, IBM857 | Turkish |
+-----------------+--------------------------------+--------------------------------+ +-----------------+--------------------------------+--------------------------------+
| cp858 | 858, IBM858 | Western Europe |
+-----------------+--------------------------------+--------------------------------+
| cp860 | 860, IBM860 | Portuguese | | cp860 | 860, IBM860 | Portuguese |
+-----------------+--------------------------------+--------------------------------+ +-----------------+--------------------------------+--------------------------------+
| cp861 | 861, CP-IS, IBM861 | Icelandic | | cp861 | 861, CP-IS, IBM861 | Icelandic |
......
...@@ -146,6 +146,11 @@ aliases = { ...@@ -146,6 +146,11 @@ aliases = {
'csibm857' : 'cp857', 'csibm857' : 'cp857',
'ibm857' : 'cp857', 'ibm857' : 'cp857',
# cp858 codec
'858' : 'cp858',
'csibm858' : 'cp858',
'ibm858' : 'cp858',
# cp860 codec # cp860 codec
'860' : 'cp860', '860' : 'cp860',
'csibm860' : 'cp860', 'csibm860' : 'cp860',
......
This diff is collapsed.
...@@ -1263,6 +1263,7 @@ all_unicode_encodings = [ ...@@ -1263,6 +1263,7 @@ all_unicode_encodings = [
"cp424", "cp424",
"cp437", "cp437",
"cp500", "cp500",
"cp720",
"cp737", "cp737",
"cp775", "cp775",
"cp850", "cp850",
...@@ -1270,6 +1271,7 @@ all_unicode_encodings = [ ...@@ -1270,6 +1271,7 @@ all_unicode_encodings = [
"cp855", "cp855",
"cp856", "cp856",
"cp857", "cp857",
"cp858",
"cp860", "cp860",
"cp861", "cp861",
"cp862", "cp862",
......
...@@ -1039,8 +1039,8 @@ class UnicodeTest(string_tests.CommonTest, ...@@ -1039,8 +1039,8 @@ class UnicodeTest(string_tests.CommonTest,
s = bytes(range(128)) s = bytes(range(128))
for encoding in ( for encoding in (
'cp037', 'cp1026', 'cp037', 'cp1026',
'cp437', 'cp500', 'cp737', 'cp775', 'cp850', 'cp437', 'cp500', 'cp720', 'cp737', 'cp775', 'cp850',
'cp852', 'cp855', 'cp860', 'cp861', 'cp862', 'cp852', 'cp855', 'cp858', 'cp860', 'cp861', 'cp862',
'cp863', 'cp865', 'cp866', 'cp863', 'cp865', 'cp866',
'iso8859_10', 'iso8859_13', 'iso8859_14', 'iso8859_15', 'iso8859_10', 'iso8859_13', 'iso8859_14', 'iso8859_15',
'iso8859_2', 'iso8859_3', 'iso8859_4', 'iso8859_5', 'iso8859_6', 'iso8859_2', 'iso8859_3', 'iso8859_4', 'iso8859_5', 'iso8859_6',
...@@ -1067,8 +1067,8 @@ class UnicodeTest(string_tests.CommonTest, ...@@ -1067,8 +1067,8 @@ class UnicodeTest(string_tests.CommonTest,
s = bytes(range(128, 256)) s = bytes(range(128, 256))
for encoding in ( for encoding in (
'cp037', 'cp1026', 'cp037', 'cp1026',
'cp437', 'cp500', 'cp737', 'cp775', 'cp850', 'cp437', 'cp500', 'cp720', 'cp737', 'cp775', 'cp850',
'cp852', 'cp855', 'cp860', 'cp861', 'cp862', 'cp852', 'cp855', 'cp858', 'cp860', 'cp861', 'cp862',
'cp863', 'cp865', 'cp866', 'cp863', 'cp865', 'cp866',
'iso8859_10', 'iso8859_13', 'iso8859_14', 'iso8859_15', 'iso8859_10', 'iso8859_13', 'iso8859_14', 'iso8859_15',
'iso8859_2', 'iso8859_4', 'iso8859_5', 'iso8859_2', 'iso8859_4', 'iso8859_5',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment