From bruno at clisp.org Mon Dec 1 08:59:50 2003 From: bruno at clisp.org (Bruno Haible) Date: Mon Dec 1 09:00:45 2003 Subject: [I18n-sig] GNU gettext support for Python Message-ID: <200312011459.50886.bruno@clisp.org> Hi, The just-released GNU gettext 0.13 has improved support for Python: * An example demonstrating the use of GNU gettext with Python is shipped and installed at $prefix/share/doc/gettext/examples/hello-python. URL: http://ftp.gnu.org/gnu/gettext/gettext-0.13.tar.gz Enjoy! Bruno From kajiyama at grad.sccs.chukyo-u.ac.jp Sat Dec 6 11:50:16 2003 From: kajiyama at grad.sccs.chukyo-u.ac.jp (Tamito KAJIYAMA) Date: Sat Dec 6 12:03:52 2003 Subject: [I18n-sig] JapaneseCodecs 1.4.10 released Message-ID: <200312061650.hB6GoG205661@grad.sccs.chukyo-u.ac.jp> Hi all, I've just released JapaneseCodecs 1.4.10. The source tarball is available at the following location: http://www.asahi-net.or.jp/~rd6t-kjym/python/ This is a bug fix release. A buffer overflow was found in the EUC-JP codec in C, so upgrade is recommended. Here is a list of changes: - Fixed soundness bugs in Shift_JIS and MS932 decoders that invalid characters are quietly mapped into invalid Unicode characters. (Thanks to Hye-Shik Chang) - Fixed a buffer overflow in the encoder of japanese.c.euc-jp caused by a string that contains a lot of supplement Kanji characters. (Thanks to Atsuo ISHIMOTO) - added an alias "eucjp" for "japanese.euc-jp". I noticed that regression tests would fail in Python 2.3 and later. Users of Unix-like OSs can run the tests manually as follows, where $prefix refers to the directory in which Python has been installed: $ cd JapaneseCodecs-1.4.10/test $ mkdir test $ mv *.py output test $ touch test/__init__.py $ cp $prefix/lib/python2.3/test/regrtest.py test $ cp $prefix/lib/python2.3/test/test_support.py test $ python2.3 >>> import test.regrtest >>> test.regrtest.STDTESTS = [] >>> test.regrtest.main(testdir="test") Best regards, -- KAJIYAMA, Tamito From michel.martin at usherbrooke.ca Thu Dec 11 16:11:21 2003 From: michel.martin at usherbrooke.ca (Michel Martin) Date: Thu Dec 11 16:11:46 2003 Subject: [I18n-sig] Help with getText lib Message-ID: <1071177081.3fd8dd79c320b@www.usherbrooke.ca> I have difficulty using getText. In fact, I'm able to create my .po files and my .mo files. But I'm not able to read/retrieve them using either "gettext.install(...)" or "gettext.find(...)". Does any one have a complete example on how to use getText in a python application? Here are the details of my work... I use Windows2000 Pro and Python 2.3 My dev path is c:\dev My python file is c:\dev\ which contains: ================= import gettext gettext.install('dev', 'c:\dev\locale', unicode=1) print _('Hello world!') ================= My .mo file is C:\dev\locale\en\LC_MESSAGES\dev.mo which came from My .po file is C:\dev\locale\en\LC_MESSAGES\dev.po which contains ================= # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR ORGANIZATION # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: Thu Dec 11 13:34:28 2003\n" "PO-Revision-Date: 2003-12-11 13:39-0500\n" "Last-Translator: Mr. Sm:)e \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" # msgid "Hello world!" msgstr "Does it work?!!!!!!!!" ================= Please reply with my email address in CC. Thank you for your help, Best regards Michel Martin michel.martin@usherbrooke.ca From martin at v.loewis.de Thu Dec 11 16:42:19 2003 From: martin at v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) Date: Thu Dec 11 16:42:31 2003 Subject: [I18n-sig] Help with getText lib In-Reply-To: <1071177081.3fd8dd79c320b@www.usherbrooke.ca> References: <1071177081.3fd8dd79c320b@www.usherbrooke.ca> Message-ID: Michel Martin writes: > I have difficulty using getText. In fact, I'm able to create my .po > files and my .mo files. But I'm not able to read/retrieve them using > either "gettext.install(...)" or "gettext.find(...)". Did you set the LANG= environment variable? If not, you should explicitly specify the target language, e.g. by defining def _(msg): return gettext.translation('dev',r'c:\foo\bar','en').ugettext(msg) HTH, Martin From michel.martin at usherbrooke.ca Thu Dec 11 23:54:50 2003 From: michel.martin at usherbrooke.ca (Michel Martin) Date: Thu Dec 11 23:55:03 2003 Subject: [I18n-sig] Help with getText lib In-Reply-To: Message-ID: <002101c3c06c$16321dd0$6400a8c0@buddha> >> I have difficulty using getText. In fact, I'm able to create my .po >> files and my .mo files. But I'm not able to read/retrieve them using >> either "gettext.install(...)" or "gettext.find(...)". > >Did you set the LANG= environment variable? If not, you should >explicitly specify the target language, e.g. by defining > >def _(msg): > return gettext.translation('dev',r'c:\foo\bar','en').ugettext(msg) > I tried to set the LANG= environment variable and I tried | def _(msg): | return gettext.translation('dev','c:\dev\locale','en').ugettext(msg) and I always get this eception: | IOError(ENOENT, 'No translation file found for domain', domain) Any idea? Is there an application I could download and see how they handle this in their code? Or is it a bug with the locale and Windows instead of Unix? Thanks in advance, Michel From wyumscfy at el-nacional.com Wed Dec 24 15:21:48 2003 From: wyumscfy at el-nacional.com (Koehler Bob) Date: Wed Dec 24 15:24:54 2003 Subject: [I18n-sig] Re: WPDFLTE, from his pocket Message-ID: corporeal mona hummock prodigious clausius onomatopoeia selector bloodstain fettle modulo asteroidal criss erasure minicomputer accelerate calvinist checkbook goniometer appleby diatomaceous lakehurst adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/i18n-sig/attachments/20031224/c58736f9/attachment.html From srzgzxxzgpzewf at web.de Sat Dec 27 15:16:51 2003 From: srzgzxxzgpzewf at web.de (Beryl) Date: Sat Dec 27 15:25:46 2003 Subject: [I18n-sig] Re: WAXMTV, but what's wrong Message-ID: belying sprain dehumidify homo alto shoreline buildup crocodile strut riddle calamus iverson actress venomous newline cork paratroop cern -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/i18n-sig/attachments/20031227/a20d6012/attachment.html From upsubwsioc at hongkong.com Mon Dec 29 00:13:01 2003 From: upsubwsioc at hongkong.com (Oneal Leonel) Date: Mon Dec 29 00:19:13 2003 Subject: [I18n-sig] Re: JRM, the latter flushed Message-ID: address dung parkway didactic inexpedient chemist frances street shulman impregnable wilt autistic holography accede lucy bhoy cotty sirius -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/i18n-sig/attachments/20031229/b9ce0793/attachment.html From jklqia001ink1 at hotmail.com Mon Dec 29 05:21:12 2003 From: jklqia001ink1 at hotmail.com (Purchase) Date: Mon Dec 29 07:28:09 2003 Subject: [I18n-sig] Fwd: Special on toner. Message-ID: <7eb601c3cdf5$7bb09ec0$71470ecb@ddhnnogds> GT TONER SUPPLIES Laser printer and computer supplies 1-888-662-2256 1-866-237-7397 Order by e-mail:gt1000@cable.net.co E-mail removal:gt1000@cable.net.co Our prices (in USD) are as follows: HP item 1 92274A Toner Cartridge for LaserJet 4L, 4ML, 4P, 4MP $47.50 --------------------------------------------------------------------------- -------- item 2 C4092A Black Toner Cartridge for LaserJet 1100A, ASE, 3200SE $45.50 --------------------------------------------------------------------------- -------- item 2A C7115A Toner Cartridge For HP LaserJet 1000, 1200, 3330 $55.50 --------------------------------------------------------------------------- -------- item 2B C7115X High Capacity Toner Cartridge for HP LaserJet 1000, 1200, 3330 $65.50 --------------------------------------------------------------------------- -------- item 4 92275A Toner Cartridge for LaserJet IIP, IIP+, IIIP $55.50 --------------------------------------------------------------------------- -------- item 5 C3903A Toner Cartridge for LaserJet 5P, 5MP, 6P, 6Pse, 6MP, 6Pxi $46.50 --------------------------------------------------------------------------- -------- item 6 C3909A Toner Cartridge for LaserJet 5Si, 5SiMX, 5Si Copier, 8000 $92.50 --------------------------------------------------------------------------- -------- item 6A C3909X High Capacity Toner Cartridge for LaserJet 5Si, 5SiMX, 5Si Copier, 8000 $110.50 --------------------------------------------------------------------------- -------- item 7 C4096A Toner Cartridge for LaserJet 2100, 2200DSE, 2200DTN $72.50 --------------------------------------------------------------------------- -------- item 8 C4182X UltraPrecise High Capacity Toner Cartridge for LaserJet 8100 Series $125.50 --------------------------------------------------------------------------- -------- item 9 C3906A Toner Cartridge for LaserJet 5L, 5L Xtra, 6Lse, 6L, 6Lxi, 3100se $42.50 --------------------------------------------------------------------------- -------- item 9A C3906A Toner Cartridge for LaserJet 3100, 3150 $42.50 --------------------------------------------------------------------------- -------- item 10 C3900A Black Toner Cartridge for HP LaserJet 4MV, 4V $89.50 --------------------------------------------------------------------------- -------- item 11 C4127A Black Toner Cartridge for LaserJet 4000SE, 4000N, 4000T, 4000TN $76.50 --------------------------------------------------------------------------- -------- item 11A C8061A Black Laser Toner for HP LaserJet 4100, 4100N $76.50 --------------------------------------------------------------------------- -------- item 11B C8061X High Capacity Toner Cartridge for LJ4100, 4100N $85.50 --------------------------------------------------------------------------- -------- item 11C C4127X High Capacity Black Cartridge for LaserJet 4000SE, 4000N,4000T,4000TN $84.50 --------------------------------------------------------------------------- -------- item 12 92291A Toner Cartridge for LaserJet IIISi, 4Si, 4SiMX $57.50 --------------------------------------------------------------------------- -------- item 13 92298A Toner Cartridge for LaserJet 4, 4 Plus, 4M, 4M Plus, 5, 5se, 5M, 5N $46.50 --------------------------------------------------------------------------- -------- item 13A 92298X High Capacity Toner Cartridge for LaserJet 4, 4 Plus,4M, 4M Plus,5,5se, 5M, 5N $56.50 --------------------------------------------------------------------------- -------- item 14 C4129X High Capacity Black Toner Cartridge for LaserJet 5000N $97.50 --------------------------------------------------------------------------- -------- item 15 LASERFAX 500, 700 (FX1) $49.00 --------------------------------------------------------------------------- -------- item 16 LASERFAX 5000, 7000 (FX2) $54.00 --------------------------------------------------------------------------- -------- item 17 LASERFAX (FX3) $49.00 --------------------------------------------------------------------------- -------- item 18 LASERFAX (FX4) $49.00 --------------------------------------------------------------------------- -------- HP COLOR item C1 C4194A Toner Cartridge, Yellow (color lj 4500/4550 series) $89.50 --------------------------------------------------------------------------- -------- item C2 C4193A Toner Cartridge, Magenta (color lj 4500/4550 series) $89.50 --------------------------------------------------------------------------- -------- item C3 C4192A Toner Cartridge, Cyan (color lj 4500/4550 series) $89.50 --------------------------------------------------------------------------- -------- item C4 C4191A Toner Cartridge, Black (color lj 4500/4550 series) $74.50 --------------------------------------------------------------------------- -------- item C5 C4149A Toner Cartridge, Black (color lj 8500/8550 series) $76.50 --------------------------------------------------------------------------- -------- LEXMARK item 19 1380520 High Yield Black Laser Toner for 4019, 4019E, 4028, 4029, 6, 10, 10L $109.50 --------------------------------------------------------------------------- -------- item 20 1382150 High Yield Toner for 3112, 3116, 4039-10+, 4049- Model 12L,16R, Optra $109.50 --------------------------------------------------------------------------- -------- item 21 69G8256 Laser Cartridge for Optra E, E+, EP, ES, 4026, 4026 (6A,6B,6D,6E) $49.00 --------------------------------------------------------------------------- -------- item 22 13T0101 High Yield Toner Cartridge for Lexmark Optra E310, E312, E312L $89.00 --------------------------------------------------------------------------- -------- item 23 1382625 High-Yield Laser Toner Cartridge for Lexmark Optra S (4059) $129.50 --------------------------------------------------------------------------- -------- item 24 12A5745 High Yield Laser Toner for Lexmark Optra T610, 612, 614 (4069) $165.00 --------------------------------------------------------------------------- -------- Epson item 25 S051009 Toner Cartridge for Epson EPL7000, 7500, 8000+ $115.50 --------------------------------------------------------------------------- -------- item 25A S051009 LP-3000 PS 7000 $115.50 --------------------------------------------------------------------------- -------- item 26 AS051011 Imaging Cartridge for ActionLaser-1000, 1500 $99.50 --------------------------------------------------------------------------- -------- item 26A AS051011 EPL-5000, EPL-5100, EPL-5200 $99.50 --------------------------------------------------------------------------- -------- PANASONIC item 27 Nec series 2 models 90 and 95 $109.50 --------------------------------------------------------------------------- -------- APPLE item 28 2473G/A Laser Toner for LaserWriter Pro 600, 630, LaserWriter 16/600 PS $57.50 --------------------------------------------------------------------------- -------- item 29 1960G/A Laser Toner for Apple LaserWriter Select, 300, 310, 360 $71.50 --------------------------------------------------------------------------- -------- item 30 M2045G/A Toner Cartridge for Laserwriter 300, 320 (74A) $52.50 --------------------------------------------------------------------------- -------- item 32 M4683G/A Laser Toner for LaserWriter 12, 640PS $85.50 --------------------------------------------------------------------------- -------- CANON item 33 Fax CFX-L3500, CFX-4000 CFX-L4500, CFX-L4500IE & IF FX3 $49.50 --------------------------------------------------------------------------- -------- item 33A L-250, L-260i, L-300 FX3 $49.50 --------------------------------------------------------------------------- -------- item 33B LASER CLASS 2060, 2060P, 4000 FX3 $49.50 --------------------------------------------------------------------------- -------- item 34 LASER CLASS 5000, 5500, 7000, 7100, 7500, 6000 FX2 $49.50 --------------------------------------------------------------------------- -------- item 34A LBP-200V, LBP-8 II, IIR, IIIT, IIIR EP-S $49.50 --------------------------------------------------------------------------- -------- item 35 FAX 5000 FX2 $49.50 --------------------------------------------------------------------------- -------- item 36 LASER CLASS 8500, 9000, 9000L, 9000MS, 9500, 9500 MS, 9500 S FX4 $49.50 --------------------------------------------------------------------------- -------- item 36A Fax L700,720,760,770,775,777,780,785,790, & L3300 FX1 $49.50 --------------------------------------------------------------------------- -------- item 36B L-800, L-900 FX4 $49.50 --------------------------------------------------------------------------- -------- item 37 A30R Toner Cartridge for PC-6, 6RE, 7, 11, 12 $59.50 --------------------------------------------------------------------------- -------- item38 E-40 Toner Cartridge for PC-720, 740, 770, 790,795, 920, 950, 980 $85.50 --------------------------------------------------------------------------- -------- item38A E-20 Toner Cartridge for PC-310, 325, 330, 330L, 400, 420, 430 $85.50 --------------------------------------------------------------------------- -------- XEROX item 39 6R900 75A $55.50 --------------------------------------------------------------------------- -------- item 40 6R903 98A $46.50 --------------------------------------------------------------------------- -------- item 41 6R902 95A $49.50 --------------------------------------------------------------------------- -------- item 42 6R901 91A $65.50 --------------------------------------------------------------------------- -------- item 43 6R908 06A $42.50 --------------------------------------------------------------------------- -------- item 44 6R899 74A $47.50 --------------------------------------------------------------------------- -------- item 45 6R928 96A $72.50 --------------------------------------------------------------------------- -------- item 46 6R926 27X $84.50 --------------------------------------------------------------------------- -------- item 47 6R906 09A $92.50 --------------------------------------------------------------------------- -------- item 48 6R907 4MV $89.50 --------------------------------------------------------------------------- -------- item 49 6R905 03A $46.50 --------------------------------------------------------------------------- -------- 30 Day unlimited warranty included on all products GT Toner Supplies guarantees these cartridges to be free from defects in workmanship and material. Order by e-mail:gt1000@cable.net.co E-mail removal:gt1000@cable.net.co All trade marks and brand names listed above are property of the respective holders and used for descriptive purposes only. From barry at python.org Mon Dec 29 08:53:11 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 08:53:17 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <3FEFE51D.6010205@is.kochi-u.ac.jp> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> Message-ID: <1072705990.1796.38.camel@anthem> [A discussion about replacing JapaneseCodecs and KoreanCodecs in Mailman 2.1.4 with CJKCodecs] On Mon, 2003-12-29 at 03:26, Tokio Kikuchi wrote: > Sorry again Barry. > > We have to keep JapaneseCodecs and KoreanCodecs in the ditribution > and install in the pythonlib directory because email package designate > japanese and korean as prefix of charsets. I will have to study more > on cjkcodecs behavior (looks like japanese part has old bug in earlier > distribution of JapaneseCodecs) so please cancel this checkin. Oh dang. The problem is CODEC_MAP in email/Charset.py, right? Here's a hack for Mailman 2.1.4: -----japanese.py from cjkcodecs import euc-jp, iso-2022-jp, shift_jis -----korean.py from cjkcodecs import euc-kr, cp949, iso-2022-kr, johab We add these two files to Mailman's pythonlib, and then the imports in Charset.py should work correctly. It would be nice if cjkcodecs provided backwards compatibility. Otherwise, we probably want to provide some ourselves in email/Charset.py. I'm not sure there's a better way to do this, but attached is a strawman (untested) patch for email 2.5.5/Python 2.3.4. It's too late to get this into Python 2.3.3, but if this is acceptable, I can check this in for Python 2.3.4, and cut a new email package tarball for Mailman 2.1.4, forgoing the above hack. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: Charset.py.diff Type: text/x-patch Size: 2846 bytes Desc: not available Url : http://mail.python.org/pipermail/i18n-sig/attachments/20031229/5f477d83/Charset.py.bin From barry at python.org Mon Dec 29 09:10:24 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 09:10:30 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072705990.1796.38.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> Message-ID: <1072707023.1796.47.camel@anthem> On Mon, 2003-12-29 at 08:53, Barry Warsaw wrote: > It would be nice if cjkcodecs provided backwards compatibility. > Otherwise, we probably want to provide some ourselves in > email/Charset.py. I'm not sure there's a better way to do this, but > attached is a strawman (untested) patch for email 2.5.5/Python 2.3.4. Amend that. If I understand how all this works correctly, then importing cjkcodecs.aliases provides direct mapping for all the charsets. So since we already have "import cjkcodecs.aliases" in Mailman's paths.py, we could just delete euc-jp, iso-2022-jp, shift_jis, euc-kr, iso-2022-kr, ks_c_5601-1987, and johab from CODEC_MAP and be done with it. It looks like we didn't need these aliases in CODEC_MAPS even with the older codec packages, since they define all the aliases as well. -Barry From barry at python.org Mon Dec 29 09:12:11 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 09:12:18 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072705990.1796.38.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> Message-ID: <1072707131.1796.50.camel@anthem> Will this updated patch work? -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: Charset.py.diff Type: text/x-patch Size: 1953 bytes Desc: not available Url : http://mail.python.org/pipermail/i18n-sig/attachments/20031229/a6f972a6/Charset.py.bin From perky at i18n.org Mon Dec 29 09:41:46 2003 From: perky at i18n.org (Hye-Shik Chang) Date: Mon Dec 29 09:41:53 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072705990.1796.38.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> Message-ID: <20031229144146.GA836@i18n.org> On Mon, Dec 29, 2003 at 08:53:11AM -0500, Barry Warsaw wrote: > [A discussion about replacing JapaneseCodecs and KoreanCodecs in Mailman > 2.1.4 with CJKCodecs] > > On Mon, 2003-12-29 at 03:26, Tokio Kikuchi wrote: > > Sorry again Barry. > > > > We have to keep JapaneseCodecs and KoreanCodecs in the ditribution > > and install in the pythonlib directory because email package designate > > japanese and korean as prefix of charsets. I will have to study more > > on cjkcodecs behavior (looks like japanese part has old bug in earlier > > distribution of JapaneseCodecs) so please cancel this checkin. I just got a mail that describes problems on CJKCodecs' iso-2022-jp codec from a Japanese user. I'm investigating it and I plan to release new minor revision that fixes the problems soon. BTW, I think shift-jis and euc-jp codec of CJKCodecs 1.0.2 is stable and backward-compatible enough. > Oh dang. > > The problem is CODEC_MAP in email/Charset.py, right? There's a bug report by Jason R. Mastaler already: http://www.python.org/sf/852347 > Here's a hack for Mailman 2.1.4: > > -----japanese.py > from cjkcodecs import euc-jp, iso-2022-jp, shift_jis and iso_2022_jp_1 > -----korean.py > from cjkcodecs import euc-kr, cp949, iso-2022-kr, johab > > We add these two files to Mailman's pythonlib, and then the imports in > Charset.py should work correctly. Yup. it will. :) > It would be nice if cjkcodecs provided backwards compatibility. > Otherwise, we probably want to provide some ourselves in > email/Charset.py. I'm not sure there's a better way to do this, but > attached is a strawman (untested) patch for email 2.5.5/Python 2.3.4. CJKCodecs already have enough compatibility aliases for consumer programs except that uses 'japanese.' or 'korean.' prefix explicitly. It has compatibility aliases for ChineseCodecs also. Hye-Shik From perky at i18n.org Mon Dec 29 09:44:09 2003 From: perky at i18n.org (Hye-Shik Chang) Date: Mon Dec 29 09:44:14 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072707023.1796.47.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <1072707023.1796.47.camel@anthem> Message-ID: <20031229144409.GA1156@i18n.org> On Mon, Dec 29, 2003 at 09:10:24AM -0500, Barry Warsaw wrote: > On Mon, 2003-12-29 at 08:53, Barry Warsaw wrote: > > > It would be nice if cjkcodecs provided backwards compatibility. > > Otherwise, we probably want to provide some ourselves in > > email/Charset.py. I'm not sure there's a better way to do this, but > > attached is a strawman (untested) patch for email 2.5.5/Python 2.3.4. > > Amend that. If I understand how all this works correctly, then > importing cjkcodecs.aliases provides direct mapping for all the > charsets. So since we already have "import cjkcodecs.aliases" in > Mailman's paths.py, we could just delete euc-jp, iso-2022-jp, shift_jis, > euc-kr, iso-2022-kr, ks_c_5601-1987, and johab from CODEC_MAP and be > done with it. > > It looks like we didn't need these aliases in CODEC_MAPS even with the > older codec packages, since they define all the aliases as well. It's true. But except for ChineseCodecs. Hye-Shik From barry at python.org Mon Dec 29 09:57:03 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 09:57:09 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <20031229144146.GA836@i18n.org> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> Message-ID: <1072709823.1796.69.camel@anthem> On Mon, 2003-12-29 at 09:41, Hye-Shik Chang wrote: > There's a bug report by Jason R. Mastaler already: > http://www.python.org/sf/852347 Ah yes, I'd forgotten about that, thanks. I've followed up to that tracker item now. > CJKCodecs already have enough compatibility aliases for consumer > programs except that uses 'japanese.' or 'korean.' prefix explicitly. > It has compatibility aliases for ChineseCodecs also. Cool. So if the Charset.py.diff patch in the tracker above looks good to you, I'll commit that as soon as Python's release23-maint branch freeze is lifted. Then I'll cut email 2.5.5 and add that to Mailman 2.1.4. Sound good? -Barry From barry at python.org Mon Dec 29 09:58:26 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 09:58:31 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <20031229144409.GA1156@i18n.org> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <1072707023.1796.47.camel@anthem> <20031229144409.GA1156@i18n.org> Message-ID: <1072709905.1796.73.camel@anthem> On Mon, 2003-12-29 at 09:44, Hye-Shik Chang wrote: > > It looks like we didn't need these aliases in CODEC_MAPS even with the > > older codec packages, since they define all the aliases as well. > > It's true. But except for ChineseCodecs. Since we didn't have any prefixes except japanese and korean, I don't think we're in any worse shape for ChineseCodecs. Right? -Barry From barry at python.org Mon Dec 29 10:05:14 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 10:05:31 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <20031229144146.GA836@i18n.org> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> Message-ID: <1072710313.1796.76.camel@anthem> On Mon, 2003-12-29 at 09:41, Hye-Shik Chang wrote: > I just got a mail that describes problems on CJKCodecs' iso-2022-jp > codec from a Japanese user. I'm investigating it and I plan to > release new minor revision that fixes the problems soon. Oh yes, please let me know asap when this is ready. This is the last issue I need to clear up before I release Mailman 2.1.4, which /will/ happen before the end of this year. I'd like for that to be ready tomorrow (Tuesday 30-Dec) if possible. -Barry From perky at i18n.org Mon Dec 29 10:12:44 2003 From: perky at i18n.org (Hye-Shik Chang) Date: Mon Dec 29 10:12:50 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072709823.1796.69.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <1072709823.1796.69.camel@anthem> Message-ID: <20031229151244.GA1646@i18n.org> On Mon, Dec 29, 2003 at 09:57:03AM -0500, Barry Warsaw wrote: > On Mon, 2003-12-29 at 09:41, Hye-Shik Chang wrote: > > > There's a bug report by Jason R. Mastaler already: > > http://www.python.org/sf/852347 > > Ah yes, I'd forgotten about that, thanks. I've followed up to that > tracker item now. > > > CJKCodecs already have enough compatibility aliases for consumer > > programs except that uses 'japanese.' or 'korean.' prefix explicitly. > > It has compatibility aliases for ChineseCodecs also. > > Cool. So if the Charset.py.diff patch in the tracker above looks good > to you, I'll commit that as soon as Python's release23-maint branch > freeze is lifted. Then I'll cut email 2.5.5 and add that to Mailman > 2.1.4. > > Sound good? > Okay for me. BTW, if no aliases with same key and value is needed, can't a line below the alises removed together? : 'utf-8': 'utf-8', Thanks! Hye-Shik From barry at python.org Mon Dec 29 10:19:42 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 10:19:52 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <20031229151244.GA1646@i18n.org> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <1072709823.1796.69.camel@anthem> <20031229151244.GA1646@i18n.org> Message-ID: <1072711181.1796.83.camel@anthem> On Mon, 2003-12-29 at 10:12, Hye-Shik Chang wrote: > Okay for me. BTW, if no aliases with same key and value is needed, > can't a line below the alises removed together? : > > 'utf-8': 'utf-8', Good catch, thanks! -Barry From tkikuchi at is.kochi-u.ac.jp Mon Dec 29 20:45:50 2003 From: tkikuchi at is.kochi-u.ac.jp (Tokio Kikuchi) Date: Mon Dec 29 20:46:01 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <20031229144146.GA836@i18n.org> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> Message-ID: <3FF0D8CE.5010701@is.kochi-u.ac.jp> Hi, All. >>Oh dang. >> >>The problem is CODEC_MAP in email/Charset.py, right? > > > There's a bug report by Jason R. Mastaler already: > http://www.python.org/sf/852347 > > >>Here's a hack for Mailman 2.1.4: >> >>-----japanese.py >>from cjkcodecs import euc-jp, iso-2022-jp, shift_jis > This will not do. (Syntax error!) My fault is that I have separately installed both JapaneseCodecs and cjkcodecs in the python site-packages area. Looks like mailman has looked the site-package codecs before mailman/pytholib codecs. Since we can get rid of the aliases in Charset.py, woud it not be better to leave the package installation to the indivisual site owners? Some Japanese users looks like to prefer JapaneseCodecs than cjkcodecs and some even prefer using one which override special characters like full-width roman numerics. Barry, I again suggest cancelling this commit for cjkcodecs altogether in the meantime of releasing 2.1.4. -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ From barry at python.org Mon Dec 29 23:00:50 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 23:00:59 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <3FF0D8CE.5010701@is.kochi-u.ac.jp> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> Message-ID: <1072756849.9216.15.camel@anthem> On Mon, 2003-12-29 at 20:45, Tokio Kikuchi wrote: > >>-----japanese.py > >>from cjkcodecs import euc-jp, iso-2022-jp, shift_jis > > > > This will not do. (Syntax error!) I noticed that. ;) Change the dashes to underscores. > My fault is that I have separately installed both JapaneseCodecs > and cjkcodecs in the python site-packages area. Looks like mailman > has looked the site-package codecs before mailman/pytholib codecs. Hmm, it shouldn't. Mailman /should/ be set up to look in pythonlib first. > Since we can get rid of the aliases in Charset.py, woud it not be better > to leave the package installation to the indivisual site owners? Perhaps, but 1) I think Mailman should come with batteries included and be easy to install, 2) I don't want to rely on having to install these packages in the system's site-packages directory because that affects all users of Python on that system. > Some Japanese users looks like to prefer JapaneseCodecs than cjkcodecs > and some even prefer using one which override special characters like > full-width roman numerics. Hmm. I have to defer to you on this. In general though, it's a shame there has to be more than one codec package for Japanese. Also, is JapaneseCodecs still being developed? > Barry, I again suggest cancelling this commit for cjkcodecs altogether > in the meantime of releasing 2.1.4. Looks like we'll have to. The other problem is that I can't make the necessary changes to the email package until the Python 2.3 branch is freed up and it doesn't look that that will happen in time. I don't want to include an unreleased version of the email package with Mailman 2.1.4. So we'll stick with the status quo for Mailman 2.1.4. It would really be nice if Python 2.4 included the Asian codecs by default. -Barry From barry at python.org Mon Dec 29 23:35:04 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 23:35:14 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072756849.9216.15.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> <1072756849.9216.15.camel@anthem> Message-ID: <1072758904.9216.24.camel@anthem> On Mon, 2003-12-29 at 23:00, Barry Warsaw wrote: > Looks like we'll have to. The other problem is that I can't make the > necessary changes to the email package until the Python 2.3 branch is > freed up and it doesn't look that that will happen in time. I don't > want to include an unreleased version of the email package with Mailman > 2.1.4. Besides, my patch for Charset.py breaks Python's test suite. I'm not yet sure what the right way to fix this is. http://sourceforge.net/tracker/index.php?func=detail&aid=852347&group_id=5470&atid=105470 -Barry From barry at python.org Mon Dec 29 23:48:01 2003 From: barry at python.org (Barry Warsaw) Date: Mon Dec 29 23:48:13 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <3FF0D8CE.5010701@is.kochi-u.ac.jp> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> Message-ID: <1072759680.9216.28.camel@anthem> On Mon, 2003-12-29 at 20:45, Tokio Kikuchi wrote: > Barry, I again suggest cancelling this commit for cjkcodecs altogether > in the meantime of releasing 2.1.4. I've done this now in Mailman's cvs (Release_2_1-maint branch). Please double check. -Barry From perky at i18n.org Tue Dec 30 01:06:22 2003 From: perky at i18n.org (Hye-Shik Chang) Date: Tue Dec 30 01:06:27 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072710313.1796.76.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <1072710313.1796.76.camel@anthem> Message-ID: <20031230060622.GA21672@i18n.org> On Mon, Dec 29, 2003 at 10:05:14AM -0500, Barry Warsaw wrote: > On Mon, 2003-12-29 at 09:41, Hye-Shik Chang wrote: > > > I just got a mail that describes problems on CJKCodecs' iso-2022-jp > > codec from a Japanese user. I'm investigating it and I plan to > > release new minor revision that fixes the problems soon. > > Oh yes, please let me know asap when this is ready. This is the last > issue I need to clear up before I release Mailman 2.1.4, which /will/ > happen before the end of this year. I'd like for that to be ready > tomorrow (Tuesday 30-Dec) if possible. All the problems on iso-2022-jp* codecs are fixed and a release candidate for CJKCodecs 1.0.3 is ready. (anyway :-)) http://people.freebsd.org/~perky/cjkcodecs-1.0.3c1.tar.bz2 I'll release 1.0.3 final in a day or two. Hye-Shik From pghvowayodashs at hongkong.com Tue Dec 30 04:05:31 2003 From: pghvowayodashs at hongkong.com (Stout Dale) Date: Tue Dec 30 04:13:36 2003 Subject: [I18n-sig] Re: WTCD, i wish with Message-ID: foundation quadrant mutant dormitory countryside declassify armament dogfish yeats blackball batchelder meld hold nation slivery fisk picnic somewhat blank packard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/i18n-sig/attachments/20031230/76a23982/attachment.html From tkikuchi at is.kochi-u.ac.jp Tue Dec 30 07:12:25 2003 From: tkikuchi at is.kochi-u.ac.jp (Tokio Kikuchi) Date: Tue Dec 30 07:12:56 2003 Subject: [Mailman-i18n] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072758904.9216.24.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> <1072756849.9216.15.camel@anthem> <1072758904.9216.24.camel@anthem> Message-ID: <3FF16BA9.7090508@is.kochi-u.ac.jp> I think this patch will fix. @@ -221,6 +220,8 @@ # it. henc, benc, conv = CHARSETS.get(self.input_charset, (SHORTEST, BASE64, None)) + if not conv: + conv = self.input_charset # Set the attributes, allowing the arguments to override the default. self.header_encoding = henc self.body_encoding = benc @@ -230,7 +231,7 @@ self.input_codec = CODEC_MAP.get(self.input_charset, self.input_charset) self.output_codec = CODEC_MAP.get(self.output_charset, - self.input_codec) + self.output_charset) def __str__(self): return self.input_charset.lower() Sorry for folding. Barry Warsaw wrote: > On Mon, 2003-12-29 at 23:00, Barry Warsaw wrote: > > >>Looks like we'll have to. The other problem is that I can't make the >>necessary changes to the email package until the Python 2.3 branch is >>freed up and it doesn't look that that will happen in time. I don't >>want to include an unreleased version of the email package with Mailman >>2.1.4. > > > Besides, my patch for Charset.py breaks Python's test suite. I'm not > yet sure what the right way to fix this is. > > http://sourceforge.net/tracker/index.php?func=detail&aid=852347&group_id=5470&atid=105470 > > -Barry > > > > _______________________________________________ > Mailman-i18n mailing list > Posts: Mailman-i18n@python.org > Unsubscribe: http://mail.python.org/mailman/options/mailman-i18n/tkikuchi%40is.kochi-u.ac.jp > > -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ From tkikuchi at is.kochi-u.ac.jp Tue Dec 30 07:15:09 2003 From: tkikuchi at is.kochi-u.ac.jp (Tokio Kikuchi) Date: Tue Dec 30 07:15:26 2003 Subject: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072759680.9216.28.camel@anthem> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> <1072759680.9216.28.camel@anthem> Message-ID: <3FF16C4D.1020509@is.kochi-u.ac.jp> Looks OK. I tested some messages without any codecs in site-package. -- Tokio Barry Warsaw wrote: > On Mon, 2003-12-29 at 20:45, Tokio Kikuchi wrote: > > >>Barry, I again suggest cancelling this commit for cjkcodecs altogether >>in the meantime of releasing 2.1.4. > > > I've done this now in Mailman's cvs (Release_2_1-maint branch). Please > double check. > > -Barry > > > From anthony at interlink.com.au Tue Dec 30 08:10:17 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Tue Dec 30 08:10:54 2003 Subject: [Email-SIG] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072756849.9216.15.camel@anthem> Message-ID: <200312301310.hBUDAHOC027873@localhost.localdomain> >>> Barry Warsaw wrote > Looks like we'll have to. The other problem is that I can't make the > necessary changes to the email package until the Python 2.3 branch is > freed up and it doesn't look that that will happen in time. I don't > want to include an unreleased version of the email package with Mailman > 2.1.4. In any case, the 2.3 branch is in feature freeze now (has been for quite some time) so it's not likely that this sort of new functionality is acceptable on the 2.3 branch. Anthony (wearing the harsh release manager hat). -- Anthony Baxter It's never too late to have a happy childhood. From patudelan at goalsnet.com.pe Tue Dec 30 09:45:48 2003 From: patudelan at goalsnet.com.pe (Pat) Date: Tue Dec 30 09:38:11 2003 Subject: [Mailman-i18n] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072758904.9216.24.camel@anthem> References: <1072756849.9216.15.camel@anthem> <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> <1072756849.9216.15.camel@anthem> Message-ID: <5.2.1.1.2.20031230094530.00a04dd0@goalsnet.com.pe> DONT WANT THE SUSCRIPTION IS BY LAW >On Mon, 2003-12-29 at 23:00, Barry Warsaw wrote: > > > Looks like we'll have to. The other problem is that I can't make the > > necessary changes to the email package until the Python 2.3 branch is > > freed up and it doesn't look that that will happen in time. I don't > > want to include an unreleased version of the email package with Mailman > > 2.1.4. > >Besides, my patch for Charset.py breaks Python's test suite. I'm not >yet sure what the right way to fix this is. > >http://sourceforge.net/tracker/index.php?func=detail&aid=852347&group_id=5470&atid=105470 > >-Barry > > > >_______________________________________________ >Mailman-i18n mailing list >Posts: Mailman-i18n@python.org >Unsubscribe: >http://mail.python.org/mailman/options/mailman-i18n/patudelan%40goalsnet.com.pe From patudelan at goalsnet.com.pe Tue Dec 30 09:46:16 2003 From: patudelan at goalsnet.com.pe (Pat) Date: Tue Dec 30 09:38:39 2003 Subject: [Mailman-i18n] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072759680.9216.28.camel@anthem> References: <3FF0D8CE.5010701@is.kochi-u.ac.jp> <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> Message-ID: <5.2.1.1.2.20031230094530.00a04aa0@goalsnet.com.pe> DONT WANT THE SUSCRIPTION IS BY FEDERAL LAW >On Mon, 2003-12-29 at 20:45, Tokio Kikuchi wrote: > > > Barry, I again suggest cancelling this commit for cjkcodecs altogether > > in the meantime of releasing 2.1.4. > >I've done this now in Mailman's cvs (Release_2_1-maint branch). Please >double check. > >-Barry > > > >_______________________________________________ >Mailman-i18n mailing list >Posts: Mailman-i18n@python.org >Unsubscribe: >http://mail.python.org/mailman/options/mailman-i18n/patudelan%40goalsnet.com.pe From barry at python.org Tue Dec 30 10:17:11 2003 From: barry at python.org (Barry Warsaw) Date: Tue Dec 30 10:17:21 2003 Subject: [Mailman-i18n] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <3FF16BA9.7090508@is.kochi-u.ac.jp> References: <3FEF9259.3030809@is.kochi-u.ac.jp> <3FEFE51D.6010205@is.kochi-u.ac.jp> <1072705990.1796.38.camel@anthem> <20031229144146.GA836@i18n.org> <3FF0D8CE.5010701@is.kochi-u.ac.jp> <1072756849.9216.15.camel@anthem> <1072758904.9216.24.camel@anthem> <3FF16BA9.7090508@is.kochi-u.ac.jp> Message-ID: <1072797430.9216.50.camel@anthem> On Tue, 2003-12-30 at 07:12, Tokio Kikuchi wrote: > I think this patch will fix. Works for me, thanks. I've updated the tracker item. -Barry From barry at python.org Tue Dec 30 10:23:08 2003 From: barry at python.org (Barry Warsaw) Date: Tue Dec 30 10:23:22 2003 Subject: [Email-SIG] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <200312301310.hBUDAHOC027873@localhost.localdomain> References: <200312301310.hBUDAHOC027873@localhost.localdomain> Message-ID: <1072797788.9216.57.camel@anthem> On Tue, 2003-12-30 at 08:10, Anthony Baxter wrote: > In any case, the 2.3 branch is in feature freeze now (has been for > quite some time) so it's not likely that this sort of new functionality > is acceptable on the 2.3 branch. > > Anthony (wearing the harsh release manager hat). I know that the branch is current frozen waiting for Jack's thaw once the Mac version of 2.3.3 is finished. So there's no way this will make it into the tree before the end of the year, which is my own self-imposed deadline for Mailman 2.1.4. No matter; I've reverted the change in Mailman so we won't be shipping CJKCodecs. But I do still think this is an appropriate patch for Python 2.3.x, since it really isn't a new feature. This change should be appropriate whether you continue to use the old (and unsupported) Korean and Chinese codecs, with the alternative (and supported) Japanese codec, or whether you decide to use the combined CJKCodecs package. At its heart the patch actually removes unnecessary dependencies on the separate Asian codec packages. Since they all provide aliases, this will make the Charset.py file independent of the codec package being used. As soon as Jack thaws the release23-maint branch, I think this patch should go in. I intend to apply it to the head for 2.4 now that the last regression has been fixed. -Barry From xcjdy at china.com Tue Dec 30 18:42:22 2003 From: xcjdy at china.com (Eastman Isiah) Date: Tue Dec 30 18:41:48 2003 Subject: [I18n-sig] Re: YIOPHRP, at this call Message-ID: tropospheric algaecide cage beckon pacifism ramble extant downstream alabaster inconspicuous trial decorous aren't andromeda critic mackinaw annual patina manila urethane cube jumble merriment accept crude corinth muriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/i18n-sig/attachments/20031230/d50c1208/attachment.html From anthony at interlink.com.au Tue Dec 30 22:58:11 2003 From: anthony at interlink.com.au (Anthony Baxter) Date: Tue Dec 30 22:58:45 2003 Subject: [Email-SIG] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <1072797788.9216.57.camel@anthem> Message-ID: <200312310358.hBV3wBZn007978@localhost.localdomain> >>> Barry Warsaw wrote > But I do still think this is an appropriate patch for Python 2.3.x, > since it really isn't a new feature. This change should be appropriate > whether you continue to use the old (and unsupported) Korean and Chinese > codecs, with the alternative (and supported) Japanese codec, or whether > you decide to use the combined CJKCodecs package. At its heart the > patch actually removes unnecessary dependencies on the separate Asian > codec packages. Since they all provide aliases, this will make the > Charset.py file independent of the codec package being used. I guess the deciding thing (for me) is that code written to use Python 2.3.4 (and the new codec work) should work on Python 2.3.x (x<4). I really don't want to see another repeat of the 2.2.2 fiasco (where code written for 2.2.2 wouldn't work on 2.2.1 or 2.2, because of the new True/False objects). I've seen far, far too much code that's had to do try: True, False except: True = 1 False = 0 Anthony -- Anthony Baxter It's never too late to have a happy childhood. From barry at python.org Wed Dec 31 09:01:54 2003 From: barry at python.org (Barry Warsaw) Date: Wed Dec 31 09:02:02 2003 Subject: [Email-SIG] Re: [I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, 1.1.2.1 .cvsignore, 2.2, 2.2.2.1 Makefile.in, 2.33.2.3, 2.33.2.4 paths.py.in, 2.6, 2.6.2.1 JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE In-Reply-To: <200312310358.hBV3wBZn007978@localhost.localdomain> References: <200312310358.hBV3wBZn007978@localhost.localdomain> Message-ID: <1072879314.28895.238.camel@anthem> On Tue, 2003-12-30 at 22:58, Anthony Baxter wrote: > >>> Barry Warsaw wrote > > But I do still think this is an appropriate patch for Python 2.3.x, > > since it really isn't a new feature. This change should be appropriate > > whether you continue to use the old (and unsupported) Korean and Chinese > > codecs, with the alternative (and supported) Japanese codec, or whether > > you decide to use the combined CJKCodecs package. At its heart the > > patch actually removes unnecessary dependencies on the separate Asian > > codec packages. Since they all provide aliases, this will make the > > Charset.py file independent of the codec package being used. > > I guess the deciding thing (for me) is that code written to use Python > 2.3.4 (and the new codec work) should work on Python 2.3.x (x<4). I > really don't want to see another repeat of the 2.2.2 fiasco (where > code written for 2.2.2 wouldn't work on 2.2.1 or 2.2, because of the > new True/False objects). I've seen far, far too much code that's had > to do > > try: > True, False > except: > True = 1 > False = 0 Since I don't actually use the codecs, except in the context of Mailman and even then I couldn't tell you what all those pretty graphics mean, I think we have to ultimately defer to the experts. But I don't /think/ its nearly as bad as this. This change is useful even if you are using the older codecs and decide to stick with them. They define the necessary aliases to make this all work, so the dependencies on the japanese and korean package names aren't necessary. -Barry