Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
23110e73
Commit
23110e73
authored
Aug 21, 2010
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alias macintosh to mac_roman #843590
parent
0cc7444e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
Doc/library/codecs.rst
Doc/library/codecs.rst
+1
-1
Lib/encodings/aliases.py
Lib/encodings/aliases.py
+1
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/codecs.rst
View file @
23110e73
...
@@ -1090,7 +1090,7 @@ particular, the following variants typically exist:
...
@@ -1090,7 +1090,7 @@ particular, the following variants typically exist:
+-----------------+--------------------------------+--------------------------------+
+-----------------+--------------------------------+--------------------------------+
|
mac_latin2 | maclatin2, maccentraleurope | Central and Eastern Europe |
|
mac_latin2 | maclatin2, maccentraleurope | Central and Eastern Europe |
+-----------------+--------------------------------+--------------------------------+
+-----------------+--------------------------------+--------------------------------+
|
mac_roman | macroman
| Western Europe |
|
mac_roman | macroman
, macintosh
| Western Europe |
+-----------------+--------------------------------+--------------------------------+
+-----------------+--------------------------------+--------------------------------+
|
mac_turkish | macturkish | Turkish |
|
mac_turkish | macturkish | Turkish |
+-----------------+--------------------------------+--------------------------------+
+-----------------+--------------------------------+--------------------------------+
...
...
Lib/encodings/aliases.py
View file @
23110e73
...
@@ -435,6 +435,7 @@ aliases = {
...
@@ -435,6 +435,7 @@ aliases = {
'maclatin2'
:
'mac_latin2'
,
'maclatin2'
:
'mac_latin2'
,
# mac_roman codec
# mac_roman codec
'macintosh'
:
'macintosh'
,
'macroman'
:
'mac_roman'
,
'macroman'
:
'mac_roman'
,
# mac_turkish codec
# mac_turkish codec
...
...
Misc/NEWS
View file @
23110e73
...
@@ -117,6 +117,8 @@ Extensions
...
@@ -117,6 +117,8 @@ Extensions
Library
Library
-------
-------
- Issue #843590: Make "macintosh" an alias to the "mac_roman" encoding.
- Create os.fsdecode(): decode from the filesystem encoding with
- Create os.fsdecode(): decode from the filesystem encoding with
surrogateescape error handler, or strict error handler on Windows.
surrogateescape error handler, or strict error handler on Windows.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment