python 2.4 in hoary or not?

Kristof Vansant de_lupus at pandora.be
Tue Nov 30 11:02:27 CST 2004


I think it is worth it to use python 2.4 in hoary since it has a lot of
extra international encodings support. Since hoary goals are better
support for internationalization and using python for system tools, this
really looks worth inclusion.

The CJKCodecs collections of East Asian codecs, maintained by Hye-Shik
Chang, was integrated into 2.4. The new encodings are: 

      * Chinese (PRC): gb2312, gbk, gb18030, big5hkscs, hz
      * Chinese (ROC): big5, cp950
      * Japanese: cp932, euc-jis-2004, euc-jp, euc-jisx0213,
        iso-2022-jp, iso-2022-jp-1, iso-2022-jp-2, iso-2022-jp-3,
        iso-2022-jp-ext, iso-2022-jp-2004, shift-jis, shift-jisx0213,
        shift-jis-2004
      * Korean: cp949, euc-kr, johab, iso-2022-kr

  * Some other new encodings were added: HP Roman8, ISO_8859-11,
    ISO_8859-16, PCTP-154, and TIS-620. 

  * The UTF-8 and UTF-16 codecs now cope better with receiving partial
    input. Previously the StreamReader class would try to read more
    data, making it impossible to resume decoding from the stream. The
    read() method will now return as much data as it can and future
    calls will resume decoding where previous ones left off.
    (Implemented by Walter Dörwald.)


http://www.python.org/dev/doc/devel/whatsnew/node13.html
-- 
lupusBE (Kristof Vansant Belgium)




More information about the ubuntu-devel mailing list