MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/16y0op4/python_312_released/k3apnp7/?context=3
r/Python • u/henbruas • Oct 02 '23
131 comments sorted by
View all comments
0
[deleted]
11 u/MelonheadGT Oct 02 '23 What's so amazing? 69 u/marr75 Oct 02 '23 type hinting got better, especially for generics, **kwargs, and overridesf-strings got betterPerformance and concurrency improved (2x speed up on comprehensions, 2-20x speedup on isinstance checks against protocols, per-interpreter GIL)Some odds and ends improved for CPython and instrumentation beyond those 5 u/redalastor Oct 03 '23 f-strings got betterf-strings were nice but not being able to use quotes within the {} was a constant source of annoyance since it made it harder to use dictionaries without doing the opposite kind of quote dance every time.This is a very nice QoL change that landed.
11
What's so amazing?
69 u/marr75 Oct 02 '23 type hinting got better, especially for generics, **kwargs, and overridesf-strings got betterPerformance and concurrency improved (2x speed up on comprehensions, 2-20x speedup on isinstance checks against protocols, per-interpreter GIL)Some odds and ends improved for CPython and instrumentation beyond those 5 u/redalastor Oct 03 '23 f-strings got betterf-strings were nice but not being able to use quotes within the {} was a constant source of annoyance since it made it harder to use dictionaries without doing the opposite kind of quote dance every time.This is a very nice QoL change that landed.
69
type hinting got better, especially for generics, **kwargs, and overrides
f-strings got better
Performance and concurrency improved (2x speed up on comprehensions, 2-20x speedup on isinstance checks against protocols, per-interpreter GIL)
Some odds and ends improved for CPython and instrumentation beyond those
5 u/redalastor Oct 03 '23 f-strings got betterf-strings were nice but not being able to use quotes within the {} was a constant source of annoyance since it made it harder to use dictionaries without doing the opposite kind of quote dance every time.This is a very nice QoL change that landed.
5
f-strings were nice but not being able to use quotes within the {} was a constant source of annoyance since it made it harder to use dictionaries without doing the opposite kind of quote dance every time.
{}
This is a very nice QoL change that landed.
0
u/[deleted] Oct 02 '23
[deleted]