- how to get colorized text in the terminal (TUI?)
- argparse module
- descriptors
- async await (PEP 492, Python 3.5)
- async comprehensions
- asyncio (note: asynchat and asyncore were deprecated)
- global, nonlocal
breakpoint()
and pdb
- “assignment expression” (aka “walrus operator”)
:=
(new
in v3.8)
- functions:
/
and *
in param list
(positional-only params, v3.8)
- you can now merge and update dicts with
|
and
|=
(see also existing dict.update
and
{**d1, **d2}
) (v3.9)
- structural pattern matching (PEP 634):
match
,
case
- as of v3.10, the distutils module is deprecated.