注意: 雖然 JavaScript 對於本網站不是必需的,但您與內容的互動將受到限制。請啟用 JavaScript 以獲得完整體驗。

Python 3.13.0

釋出日期: 2024 年 10 月 7 日

這是 Python 3.13.0 的穩定版本

Python 3.13.0 是 Python 程式語言的最新主要版本,與 Python 3.12 相比,它包含許多新功能和最佳化。(與上一個候選版本 3.13.0rc3 相比,3.13.0 包含兩個小的錯誤修復以及一些文件和測試更改。)

與 3.12 相比,3.13 系列的主要新功能

Python 3.13 中的一些主要新功能和變化是

新功能

型別提示

刪除和新的棄用

  • PEP 594(從標準庫中刪除無用模組) 計劃刪除許多已棄用的模組:aifcaudioopchunkcgicgitbcryptimghdrmailcapmsilibnisnntplibossaudiodevpipessndhdrspwdsunautelnetlibuuxdrliblib2to3
  • 許多其他刪除了各種標準庫模組中已棄用的類、函式和方法。
  • C API 刪除棄用。(在 alpha 1 中存在的一些刪除在 alpha 2 中被還原,因為刪除被認為此時破壞性太大。)
  • 新的棄用,其中大多數計劃從 Python 3.15 或 3.16 中刪除。

有關 Python 3.13 更改的更多詳細資訊,請參閱Python 3.13 中的新增功能

更多資源

完整更改日誌

檔案

版本 作業系統 描述 MD5 校驗和 檔案大小 GPG Sigstore SBOM
Gzipped 原始碼 tarball 原始碼釋出 c29f37220520ec6075fc37d4c62e178b 27.8 MB SIG .sigstore SPDX
XZ 壓縮的原始碼 tarball 原始碼釋出 726e5b829fcf352326874c1ae599abaa 21.5 MB SIG .sigstore SPDX
macOS 64 位 universal2 安裝程式 macOS 適用於 macOS 10.13 及更高版本 170c20233ddb620f277dc0cb1240d767 67.0 MB SIG .sigstore
Windows 安裝程式 (64 位) Windows 推薦 f5e5d48ba86586d4bef67bcb3790d339 26.9 MB SIG .sigstore SPDX
Windows 安裝程式 (32 位) Windows 8e96d6243623ff7acc61c9dc7cd3638f 25.6 MB SIG .sigstore SPDX
Windows 安裝程式 (ARM64) Windows 實驗性 291f811b17b4943de92cffdce6f2014f 26.1 MB SIG .sigstore SPDX
Windows 可嵌入軟體包 (64 位) Windows 9d2a0301c2bba8df05c8815c954a2fc0 11.9 MB SIG .sigstore SPDX
Windows 可嵌入軟體包 (32 位) Windows 65fbed4b562d77ae5e3b4fc9395bffda 10.4 MB SIG .sigstore SPDX
Windows 可嵌入軟體包 (ARM64) Windows 85bd800fc3b0808193c5e1e622a48ad2 11.0 MB SIG .sigstore SPDX