# Python : Core : Changelog - https://docs.python.org/3/whatsnew/index.html ###### 3.12 *2023-12-23* - f-strings: nesting, multiline - slice objects are now hashable - `calendar` enums: `Day`, `Month` - `pathlib.Path.walk()` - `sqlite3` CLI - `sys.monitoring` (namespace) - `uuid` CLI ###### 3.11 *2022-10-24* - exception groups - `tomllib` module - `datetime.UTC` (convenience alias for datetime.timezone.utc) ###### 3.10 *2021-10-04* - `match`/`case` statements - `__builtin__` function attribute - built-in functions: `aiter()` and `anext()` - static & class methods now: - inherit attributes: `__module__`, `__name__`, `__qualname__`, `__doc__`, `__annotations__` - have a `__wrapped__` attribute - static methods now callable as regular functions - `pprint` supports dataclasses ###### 3.9 *2020-10-05* - starred unpacking expressions in for loops: `for x in *a, *b` - `dict` merge/update operators: `d1 | d2` and `d1 |= d2` - `string` methods: `.removeprefix( p )` and `.removesuffix( s )` - `zoneinfo` module ###### 3.8 *2019-10-14* - self-documenting expressions: `f'{expr=}'` - assignment expressions: `:=` - positional-only parameters: `def f( a, b, /, c, d, *, e, f ):` - a+b are positional-only - c+d can be positional or keyword - e+f are keyword-only - `continue` statements now allowed in `finally` clause - `reversed` now works on `dicts` - `importlib.metadata` module - `datetime.data.fromisocalendar()` and `datetime.data.fromisocalendar()` - `@functools.lru_cache` - `pprint.pp()` ###### 3.7 *2018-06-27* - `dicts` remember insertion order ###### 3.6 *2016-12-23* - kwargs dict preserves order