主題
自動
淺色模式
深色模式
目錄
Python 3.14 有什麼新功能
發布重點摘要
新增功能
PEP 649
&
PEP 749
: Deferred evaluation of annotations
PEP 734
: Multiple interpreters in the standard library
PEP 750
: Template string literals
PEP 768
: Safe external debugger interface
A new type of interpreter
Free-threaded mode improvements
改善錯誤訊息
PEP 784
:標準函式庫中的 Zstandard 支援
Asyncio introspection capabilities
Concurrent safe warnings control
其他語言更動
Built-ins
命令列與環境
PEP 758: Allow
except
and
except*
expressions without brackets
PEP 765: Control flow in
finally
blocks
Garbage collection
Default interactive shell
新增模組
改進的模組
argparse
ast
asyncio
calendar
concurrent.futures
configparser
contextvars
ctypes
curses
datetime
decimal
difflib
dis
errno
faulthandler
fnmatch
fractions
functools
getopt
getpass
graphlib
heapq
hmac
http
imaplib
inspect
io
json
linecache
logging.handlers
math
mimetypes
multiprocessing
operator
os
os.path
pathlib
pdb
pickle
platform
pydoc
re
socket
ssl
struct
symtable
sys
sys.monitoring
sysconfig
tarfile
threading
tkinter
turtle
types
typing
unicodedata
unittest
urllib
uuid
webbrowser
zipfile
最佳化
asyncio
base64
bdb
difflib
gc
io
pathlib
pdb
textwrap
uuid
zlib
已移除
argparse
ast
asyncio
email
importlib.abc
itertools
pathlib
pkgutil
pty
sqlite3
urllib
已棄用
New deprecations
Python 3.15 中待移除的項目
Python 3.16 中待移除的項目
Python 3.17 中待移除的項目
Python 3.18 中待移除的項目
Python 3.19 中待移除的項目
未來版本中的待移除項目
CPython 位元組碼變更
Pseudo-instructions
C API 變更
Python 配置 C API
C API 中的新功能
Limited C API changes
被移除的 C API
已棄用的 C API
Python 3.15 中待移除的項目
Python 3.16 中待移除的項目
Python 3.18 中待移除的項目