Python版本發(fā)布:Python 3.14.0
發(fā)布日期: 2025年10月7日
這是Python 3.14.0的穩(wěn)定版本。
Python 3.14.0是Python編程語言的最新主要版本,與Python 3.13相比包含了許多新功能和優(yōu)化。
Python 3.14中的一些主要新功能和變化包括:
compression.zstd
,提供對(duì)Zstandard壓縮算法的支持except
和 except*
表達(dá)式現(xiàn)在可以省略括號(hào)unittest
、argparse
、json
和 calendar
的命令行界面支持彩色輸出uuid
模塊現(xiàn)在支持UUID版本6-8,版本3-5的生成速度提升高達(dá)40%finally
塊中使用 return
/ break
/ continue
退出pdb
模塊現(xiàn)在支持遠(yuǎn)程附加到正在運(yùn)行的Python進(jìn)程有關(guān)Python 3.14的更多更改詳情,請(qǐng)參閱《What's new in Python 3.14》。
我們?yōu)閃indows提供的安裝程序正在被新的安裝管理器取代,該管理器可從Windows商店或其下載頁面安裝。更多信息請(qǐng)參閱我們的文檔。下方可下載的JSON文件包含此版本中可安裝的所有軟件包列表,包括文件URL和哈希值,但安裝最新版本并不需要該文件。傳統(tǒng)的安裝程序?qū)⒃?.14和3.15版本中繼續(xù)提供。
埃德加·愛倫·坡(Edgar Allen Poe)于1849年10月7日去世。
正如我們?cè)?.14.0a1中所提到的,“piphilology”是幫助記憶圓周率(π)數(shù)字的助記術(shù),而“pi-poem”或“piem”中每個(gè)單詞的字母數(shù)依次對(duì)應(yīng)π的數(shù)字。
1995年,美國數(shù)學(xué)家、約束寫作作家Mike Keith將愛倫·坡的《烏鴉》改寫為一首740詞的piem,名為《Near A Raven》。以下是前兩節(jié):
Poe, E.
Near a Raven
Midnights so dreary, tired and weary.
Silently pondering volumes extolling all by-now obsolete lore.
During my rather long nap - the weirdest tap!
An ominous vibrating sound disturbing my chamber's antedoor.
"This", I whispered quietly, "I ignore".
Perfectly, the intellect remembers: the ghostly fires, a glittering ember.
Inflamed by lightning's outbursts, windows cast penumbras upon this floor.
Sorrowful, as one mistreated, unhappy thoughts I heeded:
That inimitable lesson in elegance - Lenore -
Is delighting, exciting...nevermore.
感謝所有幫助Python開發(fā)和這些版本成為可能的志愿者!請(qǐng)考慮通過親自參與或通過組織向Python軟件基金會(huì)捐款來支持我們的努力。
版本 | 操作系統(tǒng) | 描述 | MD5 校驗(yàn)和 | 文件大小 | Sigstore | SBOM |
---|---|---|---|---|---|---|
Gzipped 源碼壓縮包 | 源碼發(fā)布 | 2ba6baae1e7c56f652195327d3becd64 | 29.2 MB | .sigstore | SPDX | |
XZ 壓縮源碼包 | 源碼發(fā)布 | 41389edaf9c643263cbed9b5ed307df8 | 22.5 MB | .sigstore | SPDX | |
Android 可嵌入包(aarch64) | Android | be1f8e3ec0752f5bbaf6e029e0a870c0 | 19.9 MB | .sigstore | ||
Android 可嵌入包(x86_64) | Android | c9795011cd212f75303bb4fac18e6f0d | 20.2 MB | .sigstore | ||
macOS 64位通用安裝程序 | macOS | 適用于 macOS 10.15 及以上 | d89338ba3e64cd80f9cc890280933e6c | 70.9 MB | .sigstore | |
Windows 安裝程序(64位) | Windows | 推薦 | cf642108b97545a30ac055b94657a0e6 | 28.5 MB | .sigstore | SPDX |
Windows 安裝程序(32位) | Windows | 4b4a8f4e6f47a430df110868b3872762 | 27.1 MB | .sigstore | SPDX | |
Windows 安裝程序(ARM64) | Windows | 實(shí)驗(yàn)性 | 1d308e03a711d99ad7c5df4032daf8a9 | 27.8 MB | .sigstore | SPDX |
Windows 可嵌入包(64位) | Windows | 7c5d8d8e3213a11bd0e36f8b8eb03431 | 11.4 MB | .sigstore | SPDX | |
Windows 可嵌入包(32位) | Windows | c21d08efbf4d7adb64505577c197bd08 | 10.1 MB | .sigstore | SPDX | |
Windows 可嵌入包(ARM64) | Windows | e207670ef0d54dca3681c9e4137a4774 | 10.8 MB | .sigstore | SPDX | |
Windows 發(fā)布清單 | Windows | 使用 'py install 3.14' 安裝 | 1f8f0ad1876492476cbc02155976dc21 | 14.6 KB | .sigstore |