Discussion:
[Python-3000-checkins] r65988 - in python/branches/py3k: Lib/encodings/aliases.py Misc/NEWS
hyeshik.chang
2008-08-23 08:03:04 UTC
Permalink
Author: hyeshik.chang
Date: Sat Aug 23 10:03:03 2008
New Revision: 65988

Log:
#1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK
locales. Will be replaced by properly-implemented codecs in 3.1.


Modified:
python/branches/py3k/Lib/encodings/aliases.py
python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/encodings/aliases.py
==============================================================================
--- python/branches/py3k/Lib/encodings/aliases.py (original)
+++ python/branches/py3k/Lib/encodings/aliases.py Sat Aug 23 10:03:03 2008
@@ -519,4 +519,9 @@
#'zip' : 'zlib_codec',
#'zlib' : 'zlib_codec',

+ # temporary mac CJK aliases, will be replaced by proper codecs in 3.1
+ 'x_mac_japanese' : 'shift_jis',
+ 'x_mac_korean' : 'euc_kr',
+ 'x_mac_simp_chinese' : 'gb2312',
+ 'x_mac_trad_chinese' : 'big5',
}

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Sat Aug 23 10:03:03 2008
@@ -60,6 +60,12 @@
Library
-------

+- Issue #1276: Added temporary aliases for CJK Mac encodings to resolve
+ a build problem on MacOS with CJK locales. It adds four temporary
+ mappings to existing legacy codecs that are virtually compatible
+ with Mac encodings. They will be replaced by codecs correctly
+ implemented in 3.1.
+
- Issue #3614: Corrected a typo in xmlrpc.client, leading to a NameError
"global name 'header' is not defined".
Brett Cannon
2008-08-23 20:07:58 UTC
Permalink
On Sat, Aug 23, 2008 at 1:03 AM, hyeshik.chang
Post by hyeshik.chang
Author: hyeshik.chang
Date: Sat Aug 23 10:03:03 2008
New Revision: 65988
#1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK
locales. Will be replaced by properly-implemented codecs in 3.1.
Did anybody review this?

-Brett
Nick Coghlan
2008-08-24 03:19:28 UTC
Permalink
Post by Brett Cannon
On Sat, Aug 23, 2008 at 1:03 AM, hyeshik.chang
Post by hyeshik.chang
Author: hyeshik.chang
Date: Sat Aug 23 10:03:03 2008
New Revision: 65988
#1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK
locales. Will be replaced by properly-implemented codecs in 3.1.
Did anybody review this?
Given the nature of the change, I think the mailing list discussion on
the topic qualifies as reviewing it.

Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
Loading...