[Python-checkins] r43320 - in python/trunk: Lib/encodings/big5.py Lib/encodings/big5hkscs.py Lib/encodings/cp932.py Lib/encodings/cp949.py Lib/encodings/cp950.py Lib/encodings/euc_jis_2004.py Lib/encodings/euc_jisx0213.py Lib/encodings/euc_jp.py

Hye-Shik Chang hyeshik at gmail.com
Sun Mar 26 08:30:03 CEST 2006


On 3/26/06, Neal Norwitz <nnorwitz at gmail.com> wrote:
> Shouldn't all the PyInt_Checks() also check for a long.  If a long
> fits in a Py_ssize_t, they should be used.

Just done in SVN.  Thanks for pointing it out!

> How about a NEWS entry, mentioning changes,

Because this change can be considered as a part of introduction of
Incremental Codecs interface which is new in 2.5, I thought another
NEWS entry isn't required.

> particularly any
> new/changed APIs including attributes?

The CJK codecs doesn't expose C API to users yet and changes of
Python-side API follows Walter's design.  :-)

Hye-Shik


>
> n
> --
>
> On 3/25/06, hyeshik.chang <python-checkins at python.org> wrote:
> > Author: hyeshik.chang
> > Date: Sun Mar 26 04:34:59 2006
> > New Revision: 43320
> >
> > Added:
> >    python/trunk/Tools/unicode/gencjkcodecs.py
> > Modified:
> >    python/trunk/Lib/encodings/big5.py
> >    python/trunk/Lib/encodings/big5hkscs.py
> >    python/trunk/Lib/encodings/cp932.py
> >    python/trunk/Lib/encodings/cp949.py
> >    python/trunk/Lib/encodings/cp950.py
> >    python/trunk/Lib/encodings/euc_jis_2004.py
> >    python/trunk/Lib/encodings/euc_jisx0213.py
> >    python/trunk/Lib/encodings/euc_jp.py
> >    python/trunk/Lib/encodings/euc_kr.py
> >    python/trunk/Lib/encodings/gb18030.py
> >    python/trunk/Lib/encodings/gb2312.py
> >    python/trunk/Lib/encodings/gbk.py
> >    python/trunk/Lib/encodings/hz.py
> >    python/trunk/Lib/encodings/iso2022_jp.py
> >    python/trunk/Lib/encodings/iso2022_jp_1.py
> >    python/trunk/Lib/encodings/iso2022_jp_2.py
> >    python/trunk/Lib/encodings/iso2022_jp_2004.py
> >    python/trunk/Lib/encodings/iso2022_jp_3.py
> >    python/trunk/Lib/encodings/iso2022_jp_ext.py
> >    python/trunk/Lib/encodings/iso2022_kr.py
> >    python/trunk/Lib/encodings/johab.py
> >    python/trunk/Lib/encodings/shift_jis.py
> >    python/trunk/Lib/encodings/shift_jis_2004.py
> >    python/trunk/Lib/encodings/shift_jisx0213.py
> >    python/trunk/Lib/test/test_multibytecodec.py
> >    python/trunk/Lib/test/test_multibytecodec_support.py
> >    python/trunk/Modules/cjkcodecs/_codecs_cn.c
> >    python/trunk/Modules/cjkcodecs/multibytecodec.c
> >    python/trunk/Modules/cjkcodecs/multibytecodec.h
> >    python/trunk/Tools/unicode/Makefile
> > Log:
> > Patch #1443155: Add the incremental codecs support for CJK codecs.
> > (reviewed by Walter Dörwald)
> >
> >


More information about the Python-checkins mailing list