Python 3.2 发布
Python 开发团队已发布新的 3.2 版本。该版本增强了 Python 3.x
系列的稳定性,对内建类型作了稍许更改,以及包含其他一些改进:
- numerous improvements to the unittest module
- PEP 3147, support for .pyc repository directories
- PEP 3149, support for version tagged dynamic libraries
- PEP 3148, a new futures library for concurrent programming
- PEP 384, a stable ABI for extension modules
- PEP 391, dictionary-based logging configuration
- an overhauled GIL implementation that reduces contention
- an extended email package that handles bytes messages
- a much improved ssl module with support for SSL contexts and certificate
- hostname matching
- a sysconfig module to access configuration information
- additions to the shutil module, among them archive file support
- many enhancements to configparser, among them mapping protocol support
- improvements to pdb, the Python debugger
- countless fixes regarding bytes/string issues; among them full support for a
- bytes environment (filenames, environment variables)
- many consistency and behavior fixes for numeric operations
有关 Python 3.2 的更新详情,可查阅 [What's new in
3.2?](http://docs.python.org/dev/whatsnew/3.2.html)。适用于各平台的发行包可从此处下载。