Python 有什么新变化?¶
这个“Python 有什么新变化?”系列内容会带您浏览 Python 大版本之间重要的变化。在新版发布后,如果您希望掌握最新变化,请务必阅读这些内容。
- What's New In Python 3.9
- Python 3.8 有什么新变化
- Python 3.7 有什么新变化
- Python 3.6 有什么新变化
- Python 3.5 有什么新变化
- Python 3.4 有什么新变化
- Python 3.3 有什么新变化
- 摘要 - 发布重点
- PEP 405: 虚拟环境
- PEP 420: 隐式命名空间包
- PEP 3118: 新的内存视图实现和缓冲协议文档
- PEP 393: 灵活的字符串表示
- PEP 397: 适用于Windows的Python启动器
- PEP 3151: 重写 OS 和 IO 异常的层次结构
- PEP 380: 委托给子生成器的语法
- PEP 409: 清除异常上下文
- PEP 414: 显式的Unicode文本
- PEP 3155: 类和函数的限定名称
- PEP 412: Key-Sharing Dictionary
- PEP 362: 函数签名对象
- PEP 421: 添加 sys.implementation
- Using importlib as the Implementation of Import
- 其他语言特性修改
- A Finer-Grained Import Lock
- Builtin functions and types
- 新增模块
- 改进的模块
- 性能优化
- 构建和 C API 的改变
- 弃用
- 移植到 Python 3.3
- Python 3.2 有什么新变化
- PEP 384: 定义稳定的ABI
- PEP 389: Argparse 命令行解析模块
- PEP 391: 基于字典的日志配置
- PEP 3148: The
concurrent.futures
module - PEP 3147: PYC Repository Directories
- PEP 3149: ABI Version Tagged .so Files
- PEP 3333: Python Web Server Gateway Interface v1.0.1
- 其他语言特性修改
- New, Improved, and Deprecated Modules
- 多线程
- 性能优化
- Unicode
- 编解码器
- 文档
- IDLE
- Code Repository
- 构建和 C API 的改变
- 移植到 Python 3.2
- Python 3.1 有什么新变化
- Python 3.0 有什么新变化
- Python 2.7 有什么新变化
- The Future for Python 2.x
- Changes to the Handling of Deprecation Warnings
- Python 3.1 Features
- PEP 372: Adding an Ordered Dictionary to collections
- PEP 378: 千位分隔符的格式说明符
- PEP 389: The argparse Module for Parsing Command Lines
- PEP 391: Dictionary-Based Configuration For Logging
- PEP 3106: Dictionary Views
- PEP 3137: The memoryview Object
- 其他语言特性修改
- New and Improved Modules
- 构建和 C API 的改变
- Other Changes and Fixes
- 移植到 Python 2.7
- New Features Added to Python 2.7 Maintenance Releases
- 致谢
- Python 2.6 有什么新变化
- Python 3.0
- Changes to the Development Process
- PEP 343: "with" 语句
- PEP 366: 从主模块显式相对导入
- PEP 370: 分用户的 site-packages 目录
- PEP 371: 多任务处理包
- PEP 3101: 高级字符串格式
- PEP 3105:
print
改为函数 - PEP 3110: 异常处理的变更
- PEP 3112: 字节字面值
- PEP 3116: 新 I/O 库
- PEP 3118: 修改缓冲区协议
- PEP 3119: 抽象基类
- PEP 3127: 整型文字支持和语法
- PEP 3129: 类装饰器
- PEP 3141: A Type Hierarchy for Numbers
- 其他语言特性修改
- New and Improved Modules
- Deprecations and Removals
- 构建和 C API 的改变
- 移植到Python 2.6
- 致谢
- Python 2.5 有什么新变化
- PEP 308: 条件表达式
- PEP 309: Partial Function Application
- PEP 314: Python软件包的元数据 v1.1
- PEP 328: 绝对导入和相对导入
- PEP 338: 将模块作为脚本执行
- PEP 341: 统一 try/except/finally
- PEP 342: 生成器的新特性
- PEP 343: "with" 语句
- PEP 352: 异常作为新型的类
- PEP 353: 使用ssize_t作为索引类型
- PEP 357: '__index__' 方法
- 其他语言特性修改
- 新增,改进和删除的模块
- 构建和 C API 的改变
- 移植到Python 2.5
- 致谢
- Python 2.4 有什么新变化
- PEP 218: 内置集合对象
- PEP 237: 统一长整数和整数
- PEP 289: 生成器表达式
- PEP 292: Simpler String Substitutions
- PEP 318: Decorators for Functions and Methods
- PEP 322: Reverse Iteration
- PEP 324: New subprocess Module
- PEP 327: Decimal Data Type
- PEP 328: Multi-line Imports
- PEP 331: Locale-Independent Float/String Conversions
- 其他语言特性修改
- New, Improved, and Deprecated Modules
- 构建和 C API 的改变
- 移植到 Python 2.4
- 致谢
- Python 2.3 有什么新变化
- PEP 218: A Standard Set Datatype
- PEP 255: Simple Generators
- PEP 263: Source Code Encodings
- PEP 273: Importing Modules from ZIP Archives
- PEP 277: Unicode file name support for Windows NT
- PEP 278: Universal Newline Support
- PEP 279: enumerate()
- PEP 282: The logging Package
- PEP 285: A Boolean Type
- PEP 293: Codec Error Handling Callbacks
- PEP 301: Package Index and Metadata for Distutils
- PEP 302: New Import Hooks
- PEP 305: Comma-separated Files
- PEP 307: Pickle Enhancements
- Extended Slices
- 其他语言特性修改
- New, Improved, and Deprecated Modules
- Pymalloc: A Specialized Object Allocator
- 构建和 C API 的改变
- Other Changes and Fixes
- 移植到 Python 2.3
- 致谢
- Python 2.2 有什么新变化
- Python 2.1 有什么新变化
- 概述
- PEP 227: Nested Scopes
- PEP 236: __future__ Directives
- PEP 207: Rich Comparisons
- PEP 230: Warning Framework
- PEP 229: New Build System
- PEP 205: Weak References
- PEP 232: Function Attributes
- PEP 235: Importing Modules on Case-Insensitive Platforms
- PEP 217: Interactive Display Hook
- PEP 208: New Coercion Model
- PEP 241: Metadata in Python Packages
- New and Improved Modules
- Other Changes and Fixes
- 致谢
- Python 2.0 有什么新变化
- 概述
- What About Python 1.6?
- New Development Process
- Unicode
- 列表推导式
- Augmented Assignment
- 字符串的方法
- Garbage Collection of Cycles
- Other Core Changes
- Porting to 2.0
- Extending/Embedding Changes
- Distutils: Making Modules Easy to Install
- XML Modules
- Module changes
- New modules
- IDLE Improvements
- Deleted and Deprecated Modules
- 致谢
这个“更新日志”是 Misc/NEWS.d 目录下文件 构建 的 HTML 版本,它包含了对当前 Python 版本进行的 所有 重要的更改。
- 更新日志
- Python 下一版
- Python 3.8.0 beta 1
- Python 3.8.0 alpha 4
- Python 3.8.0 alpha 3
- Python 3.8.0 alpha 2
- Python 3.8.0 alpha 1
- Python 3.7.0 正式版
- Python 3.7.0 rc1
- Python 3.7.0 beta 5
- Python 3.7.0 beta 4
- Python 3.7.0 beta 3
- Python 3.7.0 beta 2
- Python 3.7.0 beta 1
- Python 3.7.0 alpha 4
- Python 3.7.0 alpha 3
- Python 3.7.0 alpha 2
- Python 3.7.0 alpha 1
- Python 3.6.6 正式版
- Python 3.6.6 rc1
- Python 3.6.5 正式版
- Python 3.6.5 rc1
- Python 3.6.4 正式版
- Python 3.6.4 rc1
- Python 3.6.3 正式版
- Python 3.6.3 rc1
- Python 3.6.2 正式版
- Python 3.6.2 rc2
- Python 3.6.2 rc1
- Python 3.6.1 正式版
- Python 3.6.1 rc1
- Python 3.6.0 正式版
- Python 3.6.0 rc2
- Python 3.6.0 rc1
- Python 3.6.0 beta 4
- Python 3.6.0 beta 3
- Python 3.6.0 beta 2
- Python 3.6.0 beta 1
- Python 3.6.0 alpha 4
- Python 3.6.0 alpha 3
- Python 3.6.0 alpha 2
- Python 3.6.0 alpha 1
- Python 3.5.5 正式版
- Python 3.5.5 rc1
- Python 3.5.4 正式版
- Python 3.5.4 rc1
- Python 3.5.3 正式版
- Python 3.5.3 rc1
- Python 3.5.2 正式版
- Python 3.5.2 rc1
- Python 3.5.1 正式版
- Python 3.5.1 rc1
- Python 3.5.0 正式版
- Python 3.5.0 rc4
- Python 3.5.0 rc3
- Python 3.5.0 rc2
- Python 3.5.0 rc1
- Python 3.5.0 beta 4
- Python 3.5.0 beta 3
- Python 3.5.0 beta 2
- Python 3.5.0 beta 1
- Python 3.5.0 alpha 4
- Python 3.5.0 alpha 3
- Python 3.5.0 alpha 2
- Python 3.5.0 alpha 1