主題
自動
淺色模式
深色模式
目錄
Python 3.7 有什麼新功能
發布重點摘要
新增功能
PEP 563:延後評估註釋
PEP 538: Legacy C Locale Coercion
PEP 540: Forced UTF-8 Runtime Mode
PEP 553:內建的
breakpoint()
PEP 539: New C API for Thread-Local Storage
PEP 562: Customization of Access to Module Attributes
PEP 564: New Time Functions With Nanosecond Resolution
PEP 565:在
__main__
中顯示 DeprecationWarning
PEP 560:對
typing
模組與泛用型別的核心支援
PEP 552:基於雜湊值的 .pyc 檔案
PEP 545:Python 文件翻譯
Python 開發模式(-X dev)
其他語言更動
新模組
contextvars
dataclasses
importlib.resources
改進的模組
argparse
asyncio
binascii
calendar
collections
compileall
concurrent.futures
contextlib
cProfile
crypt
datetime
dbm
decimal
dis
distutils
enum
functools
gc
hmac
http.client
http.server
idlelib 與 IDLE
importlib
io
ipaddress
itertools
locale
logging
math
mimetypes
msilib
multiprocessing
os
pathlib
pdb
py_compile
pydoc
queue
re
signal
socket
socketserver
sqlite3
ssl
string
subprocess
sys
time
tkinter
tracemalloc
types
unicodedata
unittest
unittest.mock
urllib.parse
uu
uuid
warnings
xml
xml.etree
xmlrpc.server
zipapp
zipfile
C API 變更
建置變更
最佳化
Other CPython Implementation Changes