파이썬 3.8과 3.7 차이점
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 infinally:
blocks- on Windows, the default
asyncio
event loop is nowProactorEventLoop
- 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 processestyped_ast
is merged back to CPythonLOAD_GLOBAL
is now 40% fasterpickle
now uses Protocol 4 by default, improving performance
이외에도 많은 사항이 달라졌습니다.
<참조: https://www.python.org/downloads/release/python-381/ >
<이상>
반응형
'Python 기초' 카테고리의 다른 글
파이썬에 설치된 패키지 목록 살펴보기 (pip 명령) (0) | 2020.01.09 |
---|---|
파이썬, 람다 함수 예제 (0) | 2020.01.01 |
파이썬 3.8 다운로드 (0) | 2019.12.26 |
파이썬, 문자열 포맷팅 기능 예제 (0) | 2019.12.14 |
파이썬, 정상 휴대폰 번호 출력하기 (0) | 2019.12.07 |