Python 3.10リリース 5
ストーリー by nagazou
リリース 部門より
リリース 部門より
Python Software Foundationは4日、Python言語の最新バージョンとなる3.10.0をリリースした。公式ブログによると主要な新機能と変更点は以下の通りとなっている(Python Insider、TECH+)。
- 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
あるAnonymous Coward 曰く、
でもcoconutがうまく入らないから3.9.7に戻す予定
参考リンク (スコア:1)
Python3.10の新機能 (まとめ)
https://qiita.com/ksato9700/items/2cd85bec2ae4c1785238 [qiita.com]
Re:参考リンク (スコア:1)
Python 3.10の新機能(その1) パターンマッチ
https://www.python.jp/news/wnpython310/index.html [python.jp]
Re: (スコア:0)
そちらの記事は少し古いのでPEP 563が含まれていますが、これは人気のあるライブラリ(Pydanticなど)の機能に大きな支障が生じるため延期されています。
延期とはされていますが、原理的に結構致命的なのでPEP 563のままデフォルトに採用されることはおそらくないでしょう。
Microsoft Store (スコア:0)
Microsoft Storeで配布しているPython 3.10がインストールできない。
エラーも何も表示されないのだが、なんでだろう?
Re:Microsoft Store (スコア:1)
Windows10が出たころにも言われてた「文字列比較だと10は9より小さい問題」だったりする?