Python 的新功能 ¶
The “What’s New in Python” series of essays takes tours through the most important changes between major Python versions. They are a “must read” for anyone wishing to stay up-to-date after a new release.
- What’s New In Python 3.13
- What’s New In Python 3.12
- Python 3.11 有什么新功能
- What’s New In Python 3.10
- Python 3.9 的新功能
-
Python 3.8 的新功能
- 摘要 – 发行亮点
- 新特征
- 其它语言变化
- 新模块
- 改进模块
- 优化
- 构建和 C API 变化
- 弃用
- API 和特征移除
- 移植到 Python 3.8
- Python 3.8.1 值得注意的变化
- Notable changes in Python 3.8.2
- Notable changes in Python 3.8.3
- Python 3.8.8 值得注意的变化
- Notable changes in Python 3.8.9
- Notable changes in Python 3.8.10
- Notable changes in Python 3.8.10
- Python 3.8.12 值得注意的变化
- Notable security feature in 3.8.14
- Notable changes in 3.8.17
-
Python 3.7 的新功能
- 摘要 – 发行亮点
- 新特征
- 其它语言变化
- 新模块
- 改进模块
- C API 变化
- 构建变化
- 优化
- 其它 CPython 实现变化
- 弃用 Python 行为
- 弃用 Python 模块、函数和方法
- 弃用函数和 C API 类型
- 平台支持移除
- API 和特征移除
- 模块移除
- 仅 Windows 变化
- 移植到 Python 3.7
- Python 3.7.1 值得注意的变化
- Python 3.7.2 值得注意的变化
- Python 3.7.6 值得注意的变化
- Python 3.7.10 值得注意的变化
- Notable changes in Python 3.7.11
- Notable security feature in 3.7.14
- Python 3.6 的新功能
- Python 3.5 的新功能
- Python 3.4 的新功能
-
Python 3.3 的新功能
- 摘要 – 发行亮点
- PEP 405:虚拟环境
- PEP 420:隐式名称空间包
- PEP 3118: New memoryview implementation and buffer protocol documentation
- PEP 393: Flexible String Representation
- PEP 397: Python Launcher for Windows
- PEP 3151: Reworking the OS and IO exception hierarchy
- PEP 380:用于委托给子生成器的句法
- PEP 409: Suppressing exception context
- PEP 414: Explicit Unicode literals
- PEP 3155: Qualified name for classes and functions
- PEP 412: Key-Sharing Dictionary
- PEP 362: Function Signature Object
- PEP 421: Adding sys.implementation
- Using importlib as the Implementation of Import
- 其它语言变化
- A Finer-Grained Import Lock
- 内置函数和类型
- 新模块
- 改进模块
- 优化
- 构建和 C API 变化
- 弃用
- 移植到 Python 3.3
-
Python 3.2 的新功能
- PEP 384:定义稳定 ABI
- PEP 389: Argparse Command Line Parsing Module
- PEP 391: Dictionary Based Configuration for Logging
-
PEP 3148: The
concurrent.futures模块 - PEP 3147: PYC Repository Directories
- PEP 3149: ABI Version Tagged .so Files
- PEP 3333: Python Web Server Gateway Interface v1.0.1
- 其它语言变化
- 新的、改进的和弃用模块
- 多线程
- 优化
- Unicode
- 编解码器
- 文档编制
- IDLE
- 代码存储库
- 构建和 C API 变化
- 移植到 Python 3.2
- Python 3.1 的新功能
- Python 3.0 的新功能
-
Python 2.7 的新功能
- Python 2.x 的未来
- Changes to the Handling of Deprecation Warnings
- Python 3.1 特征
- PEP 372: Adding an Ordered Dictionary to collections
- PEP 378: Format Specifier for Thousands Separator
- PEP 389: The argparse Module for Parsing Command Lines
- PEP 391: Dictionary-Based Configuration For Logging
- PEP 3106:字典视图
- PEP 3137:内存视图对象
- 其它语言变化
- 新的和改进模块
- 构建和 C API 变化
- 其它变化和修复
- 移植到 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: The ‘with’ statement
- PEP 366: Explicit Relative Imports From a Main Module
-
PEP 370: Per-user
site-packages目录 -
PEP 371: The
multiprocessing包 - PEP 3101: Advanced String Formatting
-
PEP 3105:
printAs a Function - PEP 3110: Exception-Handling Changes
- PEP 3112: Byte Literals
- PEP 3116: New I/O Library
- PEP 3118: Revised Buffer Protocol
- PEP 3119: Abstract Base Classes
- PEP 3127: Integer Literal Support and Syntax
- PEP 3129: Class Decorators
- PEP 3141: A Type Hierarchy for Numbers
- 其它语言变化
- 新的和改进模块
- 弃用和移除
- 构建和 C API 变化
- 移植到 Python 2.6
- 感谢
-
Python 2.5 的新功能
- PEP 308: Conditional Expressions
- PEP 309: Partial Function Application
- PEP 314: Metadata for Python Software Packages v1.1
- PEP 328: Absolute and Relative Imports
- PEP 338: Executing Modules as Scripts
- PEP 341: Unified try/except/finally
- PEP 342: New Generator Features
- PEP 343: The ‘with’ statement
- PEP 352: Exceptions as New-Style Classes
- PEP 353: Using ssize_t as the index type
- PEP 357: The ‘__index__’ method
- 其它语言变化
- New, Improved, and Removed Modules
- 构建和 C API 变化
- 移植到 Python 2.5
- 感谢
-
Python 2.4 的新功能
- PEP 218:内置集对象
- PEP 237: Unifying Long Integers and Integers
- PEP 289: Generator Expressions
- 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
- 其它语言变化
- 新的、改进的和弃用模块
- 构建和 C API 变化
- 移植到 Python 2.4
- 感谢
-
Python 2.3 的新功能
- PEP 218: A Standard Set Datatype
- PEP 255:简单生成器
- PEP 263:源代码编码
- PEP 273:从 ZIP 存档导入模块
- 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
- 其它语言变化
- 新的、改进的和弃用模块
- Pymalloc:专用对象分配器
- 构建和 C API 变化
- 其它变化和修复
- 移植到 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
- 新的和改进模块
- 其它变化和修复
- 感谢
- Python 2.0 的新功能
The “Changelog” is an HTML version of the file built from the contents of the Misc/NEWS.d directory tree, which contains all nontrivial changes to Python for the current version.
-
变更日志
- Python 3.13.1 final
- Python 3.13.0 final
- Python 3.13.0 release candidate 3
- Python 3.13.0 release candidate 2
- Python 3.13.0 release candidate 1
- Python 3.13.0 beta 4
- Python 3.13.0 beta 3
- Python 3.13.0 beta 2
- Python 3.13.0 beta 1
- Python 3.13.0 alpha 6
- Python 3.13.0 alpha 5
- Python 3.13.0 alpha 4
- Python 3.13.0 alpha 3
- Python 3.13.0 alpha 2
- Python 3.13.0 alpha 1
- Python 3.12.0 beta 1
- Python 3.12.0 alpha 7
- Python 3.12.0 alpha 6
- Python 3.12.0 alpha 5
- Python 3.12.0 alpha 4
- Python 3.12.0 alpha 3
- Python 3.12.0 alpha 2
- Python 3.12.0 alpha 1
- Python 3.11.0 beta 1
- Python 3.11.0 alpha 7
- Python 3.11.0 alpha 6
- Python 3.11.0 alpha 5
- Python 3.11.0 alpha 4
- Python 3.11.0 alpha 3
- Python 3.11.0 alpha 2
- Python 3.11.0 alpha 1
- Python 3.10.0 beta 1
- Python 3.10.0 alpha 7
- Python 3.10.0 alpha 6
- Python 3.10.0 alpha 5
- Python 3.10.0 alpha 4
- Python 3.10.0 alpha 3
- Python 3.10.0 alpha 2
- Python 3.10.0 alpha 1
- Python 3.9.0 beta 1
- Python 3.9.0 alpha 6
- Python 3.9.0 alpha 5
- Python 3.9.0 阿尔法 4 版
- Python 3.9.0 阿尔法 3 版
- Python 3.9.0 阿尔法 2 版
- Python 3.9.0 阿尔法 1 版
- Python 3.8.0 贝塔 1 版
- Python 3.8.0 阿尔法 4 版
- Python 3.8.0 阿尔法 3 版
- Python 3.8.0 alpha 2
- Python 3.8.0 alpha 1
- Python 3.7.0 final
- Python 3.7.0 release candidate 1
- 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 final
- Python 3.6.6 release candidate 1
- Python 3.6.5 final
- Python 3.6.5 release candidate 1
- Python 3.6.4 final
- Python 3.6.4 release candidate 1
- Python 3.6.3 final
- Python 3.6.3 release candidate 1
- Python 3.6.2 final
- Python 3.6.2 release candidate 2
- Python 3.6.2 release candidate 1
- Python 3.6.1 final
- Python 3.6.1 release candidate 1
- Python 3.6.0 final
- Python 3.6.0 release candidate 2
- Python 3.6.0 release candidate 1
- 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 final
- Python 3.5.5 release candidate 1
- Python 3.5.4 final
- Python 3.5.4 release candidate 1
- Python 3.5.3 final
- Python 3.5.3 release candidate 1
- Python 3.5.2 final
- Python 3.5.2 release candidate 1
- Python 3.5.1 final
- Python 3.5.1 release candidate 1
- Python 3.5.0 final
- Python 3.5.0 release candidate 4
- Python 3.5.0 release candidate 3
- Python 3.5.0 release candidate 2
- Python 3.5.0 release candidate 1
- 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