Python 3.13.0a3
釋出日期: 2024 年 1 月 17 日
這是 Python 3.13 的早期開發者預覽版
與 3.12 相比,3.13 系列的主要新功能
Python 3.13 仍在開發中。此版本 3.13.0a3 是計劃的六個 alpha 版本中的第三個。
Alpha 版本的目的是使測試新功能和錯誤修復的當前狀態以及測試釋出過程更容易。
在 alpha 階段,可能會新增功能,直到 beta 階段開始 (2024-05-07),如果需要,可能會修改或刪除功能,直到候選釋出階段 (2024-07-30)。請記住,這是一個預覽版本,不 建議在生產環境中使用。
Python 3.13 的許多新功能仍在計劃和編寫中。在 刪除全域性直譯器鎖 和提高 Python 效能方面的工作仍在繼續進行。目前最值得注意的變化是
- 在互動式直譯器中,異常回溯現在預設著色。
- 文件字串現在 剝離了前導縮排,從而減少了記憶體使用和 .pyc 檔案的大小。(大多數處理文件字串的工具已經剝離了前導縮排。)
- PEP 594(從標準庫中刪除無用的模組) 計劃刪除許多已棄用的模組:
aifc
、audioop
、chunk
、cgi
、cgitb
、crypt
、imghdr
、mailcap
、msilib
、nis
、nntplib
、ossaudiodev
、pipes
、sndhdr
、spwd
、sunau
、telnetlib
、uu
、xdrlib
、lib2to3
。 - 許多其他刪除 了各種標準庫模組中已棄用的類、函式和方法。
- 新的棄用,其中大部分計劃從 Python 3.15 或 3.16 中刪除。
- C API 刪除 和 棄用。(alpha 1 中存在的一些刪除已在 alpha 2 中恢復,因為這些刪除被認為目前具有太大的破壞性。)
(嘿,核心開發人員, 如果你發現重要的功能在此列表中缺失,請告知 Thomas。)
Python 3.13 的下一個預釋出版本將是 3.13.0a4,目前計劃於 2024-02-13 釋出。
更多資源
- 線上文件
- PEP 719,3.13 釋出計劃
- 在 https://github.com/python/cpython/issues 報告錯誤。
- 資助 Python 及其社群.
檔案
版本 | 作業系統 | 描述 | MD5 校驗和 | 檔案大小 | GPG | Sigstore | |
---|---|---|---|---|---|---|---|
Gzip 壓縮的原始碼 tarball | 原始碼釋出 | d6c18d8fd1f989920b3b4a701c7d58d6 | 25.5 MB | SIG | .sigstore | ||
XZ 壓縮的原始碼 tarball | 原始碼釋出 | 4c8105c4a3d15cb44f43f9dc09f4650a | 19.4 MB | SIG | .sigstore | ||
macOS 64 位 universal2 安裝程式 | macOS | 適用於 macOS 10.9 及更高版本 | 7ad28f1eb02727c811b61ce0fbe05e50 | 42.9 MB | SIG | .sigstore | |
Windows 安裝程式 (64 位) | Windows | 推薦 | e820d7ddda3d411f3e1f2db98e1ed195 | 25.6 MB | SIG | .sigstore | |
Windows 安裝程式 (32 位) | Windows | a8f35933e7db844a557c0670d405770d | 24.4 MB | SIG | .sigstore | ||
Windows 安裝程式 (ARM64) | Windows | 實驗性 | 2850f70d63bb3b34724811ec87b4ac95 | 24.9 MB | SIG | .sigstore | |
Windows 可嵌入包 (64 位) | Windows | 754e0cb58e81f77bd939d333dd4097b8 | 10.3 MB | SIG | .sigstore | ||
Windows 可嵌入包 (32 位) | Windows | bb004a1f20516c3aed51ed00d0dc219b | 9.2 MB | SIG | .sigstore | ||
Windows 可嵌入包 (ARM64) | Windows | ce651b34a88eacebbe11b8b7d00111bf | 9.5 MB | SIG | .sigstore |