Python 3.10.1 发布
python 3.10.1 现已发布；这是 Python 3.10 系列的第一个维护版本，包含了许多新功能和优化。
与 3.9 相比，3.10 系列的主要新功能和变化包括：
PEP 623 – 弃用并准备删除 PyUnicodeObject 中的 wstr member
PEP 604 – 允许将联合类型写为 X | Y
PEP 612 – 参数规范变量
PEP 626 – 用于调试和其他工具的精确行号
PEP 618 – 添加可选的长度检查到 zip
bpo-12782：现在正式允许 Parenthesized context managers
PEP 632 – 弃用 distutils 模块
PEP 613 – 显式类型别名
PEP 634 – 结构模式匹配：规范
PEP 635 – 结构模式匹配：动机和基本原理
PEP 636 – 结构模式匹配：教程
PEP 644 – 需要 OpenSSL 1.1.1 或更新版本
PEP 624 – 删除 Py_UNICODE 编码器 API
PEP 597 – 添加可选的 EncodingWarning
Monday, December 6, 2021
Python 3.10.1 is available
I hope you like bug fixes, because we have a whole shipment of them! Python 3.10.1 is the first maintenance release of Python 3.10 as we have packed more than 330 commits of fixes and general improvements. You can get it here:
This is the first maintenance release of Python 3.10
Python 3.10.1 is the newest major release of the Python programming language, and it contains many new features and optimizations.
Major new features of the 3.10 series, compared to 3.9
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.
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
PEP 619, 3.10 Release Schedule
Report bugs at https://bugs.python.org.
Help fund Python and its community.
bpo-38605: from __future__ import annotations (PEP 563) used to be on this list in previous pre-releases but it has been postponed to Python 3.11 due to some compatibility concerns. You can read the Steering Council communication about it here to learn more.
And now for something completely different
The Meissner effect (or Meissner–Ochsenfeld effect) is the expulsion of a magnetic field from a superconductor during its transition to the superconducting state when it is cooled below the critical temperature. This expulsion will repel a nearby magnet. The German physicists Walther Meissner and Robert Ochsenfeld discovered this phenomenon in 1933 by measuring the magnetic field distribution outside superconducting tin and lead samples. The experiment demonstrated for the first time that superconductors were more than just perfect conductors and provided a uniquely defining property of the superconductor state. The ability for the expulsion effect is determined by the nature of equilibrium formed by the neutralization within the unit cell of a superconductor.
You can do very cool things with it!
We hope you enjoy the new releases!
Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.
Your friendly release team,
Ned Deily @nad
Steve Dower @steve.dower
Pablo Galindo Salgado @pablogsal