Python Documentation contents¶
- What’s New in Python
- What’s new in Python 3.15
- Summary – Release highlights
- New features
- PEP 810: Explicit lazy imports
- PEP 814: Add frozendict built-in type
- PEP 661: Add sentinel built-in type
- PEP 799: A dedicated profiling package
- Tachyon: High-frequency statistical sampling profiler
- PEP 831: Frame pointers enabled by default
- PEP 798: Unpacking in comprehensions
- PEP 829: Package startup configuration files
- PEP 803: Stable ABI for free-threaded builds
- PEP 788: Protecting the C API from interpreter finalization
- Improved error messages
- Other language changes
- Default interactive shell
- New modules
- Improved modules
- argparse
- array
- ast
- asyncio
- base64
- binascii
- calendar
- collections
- concurrent.futures
- contextlib
- ctypes
- dataclasses
- dbm
- difflib
- faulthandler
- functools
- gc
- hashlib
- http.client
- http.server
- importlib.metadata
- inspect
- json
- locale
- math
- mimetypes
- mmap
- os
- os.path
- pathlib
- pdb
- pickle
- pickletools
- pprint
- re
- resource
- shelve
- socket
- sqlite3
- ssl
- subprocess
- symtable
- sys
- sys.monitoring
- tarfile
- threading
- timeit
- tkinter
- tokenize
- tomllib
- types
- typing
- unicodedata
- unittest
- urllib.parse
- venv
- warnings
- wave
- webbrowser
- xml
- xml.parsers.expat
- zlib
- 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
- PEP 649 & PEP 749: Deferred evaluation of annotations
- PEP 734: Multiple interpreters in the standard library
- PEP 750: Template string literals
- PEP 768: Safe external debugger interface
- A new type of interpreter
- Free-threaded mode improvements
- Improved error messages
- PEP 784: Zstandard support in the standard library
- Asyncio introspection capabilities
- Concurrent safe warnings control
- Other language changes
- New modules
- Improved modules
- argparse
- ast
- asyncio
- calendar
- concurrent.futures
- configparser
- contextvars
- ctypes
- curses
- datetime
- decimal
- difflib
- dis
- errno
- faulthandler
- fnmatch
- fractions
- functools
- getopt
- getpass
- graphlib
- heapq
- hmac
- http
- imaplib
- inspect
- io
- json
- linecache
- logging.handlers
- math
- mimetypes
- multiprocessing
- operator
- os
- os.path
- pathlib
- pdb
- pickle
- platform
- pydoc
- re
- socket
- ssl
- struct
- symtable
- sys
- sys.monitoring
- sysconfig
- tarfile
- threading
- tkinter
- turtle
- types
- typing
- unicodedata
- unittest
- urllib
- uuid
- webbrowser
- zipfile
- 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
- argparse
- array
- ast
- asyncio
- base64
- compileall
- concurrent.futures
- configparser
- copy
- ctypes
- dbm
- dis
- doctest
- enum
- fractions
- glob
- importlib
- io
- ipaddress
- itertools
- marshal
- math
- mimetypes
- mmap
- multiprocessing
- os
- os.path
- pathlib
- pdb
- queue
- random
- re
- shutil
- site
- sqlite3
- ssl
- statistics
- subprocess
- sys
- tempfile
- time
- tkinter
- traceback
- types
- typing
- unicodedata
- venv
- warnings
- xml
- zipimport
- 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
- 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
- asyncio
- argparse
- array
- asynchat, asyncore, smtpd
- base64
- bdb
- bisect
- codecs
- collections.abc
- contextlib
- curses
- dataclasses
- distutils
- doctest
- encodings
- enum
- fileinput
- faulthandler
- gc
- glob
- hashlib
- hmac
- IDLE and idlelib
- importlib.metadata
- inspect
- itertools
- linecache
- os
- os.path
- pathlib
- platform
- pprint
- py_compile
- pyclbr
- shelve
- statistics
- site
- socket
- ssl
- sqlite3
- sys
- _thread
- threading
- traceback
- types
- typing
- unittest
- urllib.parse
- xml
- zipimport
- Optimizations
- Deprecated
- Removed
- Porting to Python 3.10
- What’s new in Python 3.15