Text of docs.python.org › 3 › whatsnew as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

What’s New in Python — Python 3.15.2 documentation

Navigation index modules | next | previous | Python » 3.15.2 documentation » What’s New in Python | Theme | What’s New in 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.15 Summary – Release highlights New features Other language changes Default interactive shell New modules Improved modules Optimizations Removed Deprecated C API changes Build changes Porting to Python 3.15 Notable changes in 3.15.2 What’s new in Python 3.14 Summary – Release highlights New features Other language changes New modules Improved modules Optimizations Removed Deprecated CPython bytecode changes C API changes Build changes Porting to Python 3.14 Notable changes in 3.14.5 What’s New In Python 3.13 Summary – Release Highlights New Features Other Language Changes New Modules Improved Modules Optimizations Removed Modules And APIs New Deprecations CPython Bytecode Changes C API Changes Build Changes Porting to Python 3.13 Regression Test Changes What’s New In Python 3.12 Summary – Release highlights New Features New Features Related to Type Hints Other Language Changes New Modules Improved Modules Optimizations CPython bytecode changes Demos and Tools Deprecated Removed Porting to Python 3.12 Build Changes C API Changes What’s New In Python 3.11 Summary – Release highlights New Features New Features Related to Type Hints Other Language Changes Other CPython Implementation Changes New Modules Improved Modules Optimizations Faster CPython CPython bytecode changes Deprecated Pending Removal in Python 3.12 Removed Porting to Python 3.11 Build Changes C API Changes Notable changes in 3.11.4 Notable changes in 3.11.5 What’s New In Python 3.10 Summary – Release highlights New Features New Features Related to Type Hints Other Language Changes New Modules Improved Modules Optimizations Deprecated Removed Porting to Python 3.10 CPython bytecode changes Build Changes C API Changes Notable security feature in 3.10.7 Notable security feature in 3.10.8 Notable changes in 3.10.12 What’s New In Python 3.9 Summary – Release highlights You should check for DeprecationWarning in your code New Features Other Language Changes New Modules Improved Modules Optimizations Deprecated Removed Porting to Python 3.9 Build Changes C API Changes Notable changes in Python 3.9.1 Notable changes in Python 3.9.2 Notable changes in Python 3.9.3 Notable changes in Python 3.9.5 Notable security feature in 3.9.14 Notable changes in 3.9.17 What’s New In Python 3.8 Summary – Release highlights New Features Other Language Changes New Modules Improved Modules Optimizations Build and C API Changes Deprecated API and Feature Removals Porting to Python 3.8 Notable changes in Python 3.8.1 Notable changes in Python 3.8.2 Notable changes in Python 3.8.3 Notable changes in 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 Notable changes in Python 3.8.12 Notable security feature in 3.8.14 Notable changes in 3.8.17 What’s New In Python 3.7 Summary – Release Highlights New Features Other Language Changes New Modules Improved Modules C API Changes Build Changes Optimizations Other CPython Implementation Changes Deprecated Python Behavior Deprecated Python modules, functions and methods Deprecated functions and types of the C API Platform Support Removals API and Feature Removals Module Removals Windows-only Changes Porting to Python 3.7 Notable changes in Python 3.7.1 Notable changes in Python 3.7.2 Notable changes in Python 3.7.6 Notable changes in Python 3.7.10 Notable changes in Python 3.7.11 Notable security feature in 3.7.14 What’s New In Python 3.6 Summary – Release highlights New Features Other Language Changes New Modules Improved Modules Optimizations Build and C API Changes Other Improvements Deprecated Removed Porting to Python 3.6 Notable changes in Python 3.6.2 Notable changes in Python 3.6.4 Notable changes in Python 3.6.5 Notable changes in Python 3.6.7 Notable changes in Python 3.6.10 Notable changes in Python 3.6.13 Notable changes in Python 3.6.14 What’s New In Python 3.5 Summary – Release highlights New Features Other Language Changes New Modules Improved Modules Other module-level changes Optimizations Build and C API Changes Deprecated Removed Porting to Python 3.5 Notable changes in Python 3.5.4 What’s New In Python 3.4 Summary – Release Highlights New Features New Modules Improved Modules CPython Implementation Changes Deprecated Removed Porting to Python 3.4 Changed in 3.4.3 What’s New In Python 3.3 Summary – Release highlights PEP 405: Virtual Environments PEP 420: Implicit Namespace Packages 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: Syntax for Delegating to a Subgenerator 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 Other Language Changes A Finer-Grained Import Lock Builtin functions and types New Modules Improved Modules Optimizations Build and C API Changes Deprecated Porting to Python 3.3 What’s New In Python 3.2 PEP 384: Defining a Stable ABI PEP 389: Argparse Command Line Parsing Module PEP 391: Dictionary Based Configuration for Logging 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 Other Language Changes New, Improved, and Deprecated Modules Multi-threading Optimizations Unicode Codecs Documentation IDLE Code Repository Build and C API Changes Porting to Python 3.2 What’s New In Python 3.1 PEP 372: Ordered Dictionaries PEP 378: Format Specifier for Thousands Separator Other Language Changes New, Improved, and Deprecated Modules Optimizations IDLE Build and C API Changes Porting to Python 3.1 What’s New In Python 3.0 Common Stumbling Blocks Overview Of Syntax Changes Changes Already Present In Python 2.6 Library Changes PEP 3101 : A New Approach To String Formatting Changes To Exceptions Miscellaneous Other Changes Build and C API Changes Performance Porting To Python 3.0 What’s New in 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: Format Specifier for Thousands Separator 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 Other Language Changes New and Improved Modules Build and C API Changes Other Changes and Fixes Porting to Python 2.7 New Features Added to Python 2.7 Maintenance Releases Acknowledgements What’s New in 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 Directory PEP 371: The multiprocessing Package PEP 3101: Advanced String Formatting PEP 3105: print As 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 Other Language Changes New and Improved Modules Deprecations and Removals Build and C API Changes Porting to Python 2.6 Acknowledgements What’s New in Python 2.5 PEP 308: Conditional Expressions PEP 309: Partial Function Application PEP 314: Metadata for Python Soft

The rest of this page is on the live site.