发布Python 2.3(最终版) [英] RELEASED Python 2.3 (final)
问题描述
代表Python开发团队和Python社区,我很高兴宣布发布Python 2.3(最终版)。
在制作过程中,Python 2.3代表了对b / b稳定性和性能提升的承诺,并且使用了最少的新语言
功能。无数的错误和内存泄漏已得到修复,许多新增的b / b和更新的模块已被添加,Python 2.2中引入的新类型/类系统
已得到显着改进。 Python 2.3
比Python 2.2快30%。
有关Python 2.3的更多信息,包括
$ b的下载链接$ b各种平台,发行说明和已知问题,请参阅:
http://www.python.org/2.3
这个新版本的亮点包括:
- 一个品牌新版本的IDLE,Python IDE,来自SourceForge的IDLEfork
项目。
- 许多新的和改进的库模块,包括:sets,heapq,
datetime,textwrap,optparse,logging,bsddb,bz2,tarfile,
ossaudiodev,itertools,platform,csv,timeit,shelve,
DocXMLRPCServer ,imaplib,imp,trace和一个新的随机数
发电机基于备受好评的Mersenne Twister算法
(周期为2 ** 19937-1)。一些过时的模块已被弃用。
- 新的和改进的内置插件包括:
o enumerate():一个迭代器屈服(索引,项目)对
o sum():一个用于求和数字序列的新函数
o basestring:str和unicode的抽象基本字符串类型
o bool:一个带有实例的正确类型True和False
o compile(),eval(),exec:完全支持Unicode,并允许输入
没有结束在换行符中
o range():支持长参数(幅度> sys.maxint)
o dict():新构造函数签名
o filter():当输入为Unicode时返回Unicode
o int()现在可以返回long
o isinstance(),super():现在支持其类型()为的实例不是
等于他们的__class__。 super()不再忽略数据
描述符,除了__class__。
o raw_input():现在可以返回Unicode对象
o slice(), buffer():现在是类型而不是函数
- 许多新的doctest扩展,允许它们由unittest运行。
- 扩展切片,例如hello[:: - 1]返回olleh。
- 用于读取文件的通用换行模式(转换\ r,\ n和\\\ n
全部放入\ n)。
- 源代码编码声明。 (PEP 263)
- 从zip文件导入。 (PEP 273和PEP 302)
- 为未签名发布的FutureWarning整体运作。 (PEP 237)
- 更快的list.sort()现在稳定了。
- Windows上的Unicode文件名。 (PEP 227)
- Karatsuba长乘(运行时间O(N ** 1.58)而不是
O(N ** 2))。
- pickle,cPickle和copy支持一个新的酸洗协议,以获得更多
高效酸洗(特别是)新式类实例。
- 套接字模块现在支持所有操作的可选超时。
- ssl支持已合并到Windows安装程序中。
- 对Tkinter的许多改进。
Python 2.3包含许多其他改进,包括采用
许多Python增强建议(PEP)。有关详细信息,请参阅:
http:// www。 python.org/2.3/highlights.html
享受。
happy-50th-birthday-geddy-ly y' 'rs,
-Barry
巴里华沙
ba * **@python.org
Python 2.3发布经理
(以及PythonLabs团队:Tim,Fred,Jeremy和Guido)
On behalf of the Python development team and the Python community, I''m
happy to announce the release of Python 2.3 (final).
Nineteen months in the making, Python 2.3 represents a commitment to
stability and improved performance, with a minimum of new language
features. Countless bugs and memory leaks have been fixed, many new
and updated modules have been added, and the new type/class system
introduced in Python 2.2 has been significantly improved. Python 2.3
can be up to 30% faster than Python 2.2.
For more information on Python 2.3, including download links for
various platforms, release notes, and known issues, please see:
http://www.python.org/2.3
Highlights of this new release include:
- A brand new version of IDLE, the Python IDE, from the IDLEfork
project at SourceForge.
- Many new and improved library modules including: sets, heapq,
datetime, textwrap, optparse, logging, bsddb, bz2, tarfile,
ossaudiodev, itertools, platform, csv, timeit, shelve,
DocXMLRPCServer, imaplib, imp, trace, and a new random number
generator based on the highly acclaimed Mersenne Twister algorithm
(with a period of 2**19937-1). Some obsolete modules have been
deprecated.
- New and improved built-ins including:
o enumerate(): an iterator yielding (index, item) pairs
o sum(): a new function to sum a sequence of numbers
o basestring: an abstract base string type for str and unicode
o bool: a proper type with instances True and False
o compile(), eval(), exec: fully support Unicode, and allow input
not ending in a newline
o range(): support for long arguments (magnitude > sys.maxint)
o dict(): new constructor signatures
o filter(): returns Unicode when the input is Unicode
o int() can now return long
o isinstance(), super(): Now support instances whose type() is not
equal to their __class__. super() no longer ignores data
descriptors, except for __class__.
o raw_input(): can now return Unicode objects
o slice(), buffer(): are now types rather than functions
- Many new doctest extensions, allowing them to be run by unittest.
- Extended slices, e.g. "hello"[::-1] returns "olleh".
- Universal newlines mode for reading files (converts \r, \n and \r\n
all into \n).
- Source code encoding declarations. (PEP 263)
- Import from zip files. (PEP 273 and PEP 302)
- FutureWarning issued for "unsigned" operations on ints. (PEP 237)
- Faster list.sort() is now stable.
- Unicode filenames on Windows. (PEP 227)
- Karatsuba long multiplication (running time O(N**1.58) instead of
O(N**2)).
- pickle, cPickle, and copy support a new pickling protocol for more
efficient pickling of (especially) new-style class instances.
- The socket module now supports optional timeouts on all operations.
- ssl support has been incorporated into the Windows installer.
- Many improvements to Tkinter.
Python 2.3 contains many other improvements, including the adoption of
many Python Enhancement Proposals (PEPs). For details see:
http://www.python.org/2.3/highlights.html
Enjoy.
happy-50th-birthday-geddy-ly y''rs,
-Barry
Barry Warsaw
ba***@python.org
Python 2.3 Release Manager
(and the PythonLabs team: Tim, Fred, Jeremy, and Guido)
推荐答案
Barry A. Warsaw写道:
Barry A. Warsaw wrote:
代表Python开发团队和Python社区,我是
很高兴宣布发布Python 2.3(最终版)。
On behalf of the Python development team and the Python community, I''m
happy to announce the release of Python 2.3 (final).
kudo
1:AWARD,HONOR <荣誉学位得分和...其他荣誉 - 时间>
2:恭维,赞美<三个人应该为
$ b $做一些特别的工作b拒绝屈服 - Al Hine>
(MW)
- Irmen de Jong
kudo
1 : AWARD, HONOR <a score of honorary degrees and... other kudos -- Time>
2 : COMPLIMENT, PRAISE <to all three should go some kind of special kudo for
refusing to succumb -- Al Hine>
(M-W)
--Irmen de Jong
Irmen de Jong< irmen @ -NOSPAM-REMOVETHIS -xs4all.nl>在消息新闻中写道:< 3f *********************** @ news.xs4all.nl> ...
Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> wrote in message news:<3f***********************@news.xs4all.nl>...
Barry A. Warsaw写道:
Barry A. Warsaw wrote:
代表Python开发团队和Python社区,我很高兴地宣布发布Python 2.3(最终版)。
On behalf of the Python development team and the Python community, I''m
happy to announce the release of Python 2.3 (final).
kudo
1:AWARD,HONOR<荣誉学位和......其他荣誉 - 时间>
2:恭维,赞美< to所有三个人都应该采取某种特殊的工作来拒绝屈服 - Al Hine>
(MW)
- Irmen de Jong
kudo
1 : AWARD, HONOR <a score of honorary degrees and... other kudos -- Time>
2 : COMPLIMENT, PRAISE <to all three should go some kind of special kudo for
refusing to succumb -- Al Hine>
(M-W)
--Irmen de Jong
咳咳......赦免迂腐,但恭喜是一个质量名词,而不是一个计数名词的复数。即使这不是这样,开发团队
(这不仅仅是计数意义上的奇异,而且也是非常显着的感觉)应该得到的不仅仅是一个工具每个
会员。
所以...我们可以把它改成多多荣誉吗?
Ahem ... pardon the pedantry, but "kudos" is a mass noun, not the
plural of a count noun. Even were this not so, the development team
(which is singular not only in the counting sense but also in the
sense of being remarkable) deserves more than a single kudo per
member.
So ... could we please change that to "much kudos"?
>
aa**@pythoncraft.com (Aahz)在留言新闻中写道:< bg ******** ** @ panix2.panix.com> ...
aa**@pythoncraft.com (Aahz) wrote in message news:<bg**********@panix2.panix.com>...
文章< c7 ************************* *@posting.google.com> ;,
John Machin< sj ****** @ lexicon.net>写道:
In article <c7**************************@posting.google.com >,
John Machin <sj******@lexicon.net> wrote:
所以...我们可以把它更改为赞美吗?
So ... could we please change that to "much kudos"?
不。 Kudos是一个质量名词,但它是一个离散的质量名词。所以你需要
说很多荣誉。
Nope. Kudos is a mass noun, but it''s a discrete mass noun. So you need
to say "many kudos".
我相信习惯上使用这种结构''很棒的荣誉','br / >
,无论如何,你都应该得到。
I believe it is customary to use the construction ''great kudos,''
which, in any case, you all deserve.
这篇关于发布Python 2.3(最终版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!