This is the fourth in a series of summarizations of what’s in each release of Python. The first three were:
Update: I’ve now collected all the “What’s in which Python”s onto a single page: What’s in which Python.
3.7: June 27, 2018
- postponed evaluation of type annotations (PEP 563)
- async and await are keywords
- dataclasses
- dict order is guaranteed
3.8: October 14, 2019
- assignment expressions (walrus operator := )
- f-string “=” specifier
- positional-only parameters
3.9: October 5, 2020
- dict union operators
- type hinting generics in standard collections
- relaxed decorator syntax
- str.removeprefix and str.removesuffix
Comments
Add a comment: