python2.7.4最新发布,修正上百bug

Python 今天发布了Python 2.7.4,该版本修正了上百个bugs。

python2.7.x是python2.x系列的最后一个重要版本,它包含了python3.1中的很多重要特性

本次更新的重要特性:

An ordered dictionary type

New unittest features including test skipping, new assert methods, and test discovery

A much faster io module

Automatic numbering of fields in the str.format() method

Float repr improvements backported from 3.x

Tile support for Tkinter

A backport of the memoryview object from 3.x

Set literals

Set and dictionary comprehensions

Dictionary views

New syntax for nested with statements

The sysconfig module


上一篇:Python中nonlocal关键字
下一篇:Python基础:关于__name__

PythonTab微信公众号:

Python技术交流互助群 ( 请勿加多个群 ):

群1: 87464755

群2: 333646237

群3: 318130924

群4: 385100854