Python 3.12.0a1
釋出日期: 2022 年 10 月 25 日
這是 Python 3.12 的早期開發者預覽版
與 3.11 相比,3.12 系列的主要新特性
Python 3.12 仍在開發中。此版本 3.12.0a1 是計劃的七個 alpha 版本中的第一個。
Alpha 版本的目的是為了更容易地測試新特性和錯誤修復的當前狀態,並測試釋出過程。
在 alpha 階段,特性可能會在 beta 階段開始之前(2023-05-08)新增,並且如有必要,可能會在候選釋出階段(2023-07-31)之前進行修改或刪除。請記住,這是一個預覽版本,不建議在生產環境中使用。
Python 3.12 的許多新特性仍在計劃和編寫中。到目前為止,新的主要特性和變化包括
-
根據 PEP 623,刪除了 unicode 物件 C 實現中已棄用的
wstr
和wstr_length
成員。 -
在
unittest
模組中,刪除了許多長期棄用的方法和類。(它們自 Python 3.1 或 3.2 起就被棄用了)。 -
已刪除已棄用的
smtpd
模組。 -
刪除了許多其他舊的、損壞的和棄用的函式、類和方法。
-
(嘿,核心開發人員朋友, 如果您發現此列表中缺少您認為重要的特性,請 告知 Thomas。)
Python 3.12 的下一個預釋出版本將是 3.12.0a2,目前計劃於 2022-11-14 釋出。
更多資源
- 線上文件
- PEP 693,3.12 釋出時間表
- 在 https://github.com/python/cpython/issues 報告錯誤。
- 幫助資助 Python 及其社群.
現在來點完全不同的東西
This is not the poem that I had hoped to write
when I sat at my desk and the page was white.
You see, there were other words that I’d had in mind,
yet this is what I leave behind.
I thought it was a poem to eradicate war;
one of such power, it would heal all the sores
of a world torn apart by conflict and schism.
But it isn’t.
Lovers, I’d imagined, would quote from it daily,
Mothers would sing it to soothe crying babies.
And whole generations would be given new hope.
Nope.
I had grand aspirations. Believe me, I tried.
Humanity examined with lessons applied.
But the right words escaped me; so often they do.
Have these in lieu.
檔案
版本 | 作業系統 | 描述 | MD5 校驗和 | 檔案大小 | GPG | Sigstore | |
---|---|---|---|---|---|---|---|
Gzip 壓縮的原始碼 tarball | 原始碼釋出 | 0057f64688cd117dc8665d683b772bf2 | 25.2 MB | SIG | CRT | SIG | |
XZ 壓縮的原始碼 tarball | 原始碼釋出 | 6b78b49898386aed44830b3969fccf70 | 18.9 MB | SIG | CRT | SIG | |
macOS 64 位 universal2 安裝程式 | macOS | 適用於 macOS 10.9 及更高版本 | f5dc09e18d673500ec3356a436dc8af6 | 40.5 MB | SIG | CRT | SIG |
Windows 安裝程式(64 位) | Windows | 4f3190ac3675b3364e7cdc401d3cb23d | 24.0 MB | SIG | CRT | SIG | |
Windows 安裝程式(32 位) | Windows | e93c60f348c54a52251f9fd18f5295bd | 22.8 MB | SIG | CRT | SIG | |
Windows 安裝程式 (ARM64) | Windows | 實驗性 | 98aef7724315d737c25c27b45f7a189c | 23.1 MB | SIG | CRT | SIG |
Windows 嵌入式包 (64 位) | Windows | ca7be369f9be60d6e6a56d2644968eb4 | 10.0 MB | SIG | CRT | SIG | |
Windows 嵌入式包 (32 位) | Windows | 3988992b4e604abd810503173b9634f1 | 9.1 MB | SIG | CRT | SIG | |
Windows 嵌入式包 (ARM64) | Windows | 04ffa0b4fb06849c5f0f59dd5d982e14 | 9.2 MB | SIG | CRT | SIG |