New in Python 3.8.0

Python 3.8.0

Published: Oct. 14, 2019

This is a stable release of a Python3.8.0.
Python3.8.0 is the latest release of the Python programming language, ta contains many new features and optimization.

This is the stable release of Python 3.8.0
Python 3.8.0 is the newest major release of the Python programming language, and it contains many new features and optimizations.

Version 3.7 with the control, the main new features of 3.8:
PEP 572 AssignExpression
PEP 570 only in accordance with the parameters position
PEP 587 Python initial setting (improved embedding)
PEP Vectorcall 590 is a fast call protocol CPython
PEP audit hook 578 run
PEP 574 Pickle Protocol 5 OOB data with
a parallel file system cache used to compile bytecode
debug version and release versions share the ABI
F-strings = supports debugging
continue now finally: the block is valid

Major new features of the 3.8 series, compared to 3.7
PEP 572 , Assignment expressions
PEP 570, Positional-only arguments
PEP 587, Python Initialization Configuration (improved embedding)
PEP 590, Vectorcall: a fast calling protocol for CPython
PEP 578, Runtime audit hooks
PEP 574, Pickle protocol 5 with out-of-band data
Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
Parallel filesystem cache for compiled bytecode
Debug builds share ABI as release builds
f-strings support a handy = specifier for debugging
continue is now legal in finally: blocks
on Windows, the default asyncio event loop is now ProactorEventLoop
on macOS, the spawn start method is now used by default in multiprocessing
multiprocessing can now use shared memory segments to avoid pickling costs between processes
typed_ast is merged back to CPython
LOAD_GLOBAL is now 40% faster
pickle now uses Protocol 4 by default, improving performance

Guess you like

Origin www.cnblogs.com/passguan/p/11683258.html