Release Date: April 5, 2021
This is an early developer preview of Python 3.10
Major new features of the 3.10 series, compared to 3.9
Python 3.10 is still in development. This release, 3.10.0a7 is the last of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2021-05-03) and, if necessary, may be modified or deleted up until the release candidate phase (2021-10-04). Please keep in mind that this is a preview release and its use is not recommended for production environments.
Many new features for Python 3.10 are still being planned and written. Among the new major new features and changes so far:
- PEP 623 -- Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
- PEP 604 -- Allow writing union types as X | Y
- PEP 612 -- Parameter Specification Variables
- PEP 626 -- Precise line numbers for debugging and other tools.
from __future__ import annotations(PEP 563) is now the default.
- PEP 618 -- Add Optional Length-Checking To zip.
- bpo-12782: Parenthesized context managers are now officially allowed.
- PEP 632 -- Deprecate distutils module.
- PEP 613 -- Explicit Type Aliases
- PEP 634 -- Structural Pattern Matching: Specification
- PEP 635 -- Structural Pattern Matching: Motivation and Rationale
- PEP 636 -- Structural Pattern Matching: Tutorial
- PEP 644 -- Require OpenSSL 1.1.1 or newer
- PEP 624 -- Remove Py_UNICODE encoder APIs
PEP 597 -- Add optional EncodingWarning
(Hey, fellow core developer, if a feature you find important is missing from this list, let Pablo know.)
The next pre-release of Python 3.10 will be 3.10.0b1 ( the first beta release and feature freeze), currently scheduled for Monday, 2021-05-03.
- Online Documentation
- PEP 619, 3.10 Release Schedule
- Report bugs at https://bugs.python.org.
- Help fund Python and its community.
And now for something completely different
In physics, the twin paradox is a thought experiment in special relativity involving identical twins, one of whom makes a journey into space in a high-speed rocket and returns home to find that the twin who remained on Earth has aged more. This result appears puzzling because each twin sees the other twin as moving, and so, as a consequence of an incorrect and naive application of time dilation and the principle of relativity, each should paradoxically find the other to have aged less. However, this scenario can be resolved by realising that the travelling twin is undergoing acceleration, which makes him a non-inertial observer. In both views, there is no symmetry between the spacetime paths of the twins. Therefore, the twin paradox is not a paradox in the sense of a logical contradiction.
|Version||Operating System||Description||MD5 Sum||File Size||GPG|
|Gzipped source tarball||Source release||ce7038a423051a7fe03fbe2f4a0f25d6||24585172||SIG|
|XZ compressed source tarball||Source release||541c60c4eac4ef59baa4e5dcfe0fad0f||18403212||SIG|
|macOS 64-bit universal2 installer||macOS||for macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon (experimental)||1816930afc0323a527814055c873768c||38058818||SIG|
|Windows embeddable package (32-bit)||Windows||b00998196c9a314ab59746734fa2c229||7396727||SIG|
|Windows embeddable package (64-bit)||Windows||2466a33faf9d3d10c380de57cf3b7488||8351215||SIG|
|Windows help file||Windows||3124a8c22fcb40cadd98f7d9aafd0ee9||8997080||SIG|
|Windows installer (32-bit)||Windows||9388f6c671c58fbeab5f29a6ce18b7b8||26416680||SIG|
|Windows installer (64-bit)||Windows||Recommended||bf36e4b2628c9deb3e3a0f257cae4e67||27563320||SIG|