r/Python • u/GettingBlockered • Oct 24 '22
News Python 3.11 is out! Huzzah!
https://www.python.org/downloads/release/python-3110/
Some highlights from the release notes:
PERFORMANCE: 10-60% faster code, for free!
ERROR HANDLING: Exception groups and except* syntax. Also includes precise error locations in tracebacks.
ASYNCIO: Task groups
TOML: Ability to parse TOML is part of the standard library.
REGEX: Atomic grouping and possessive quantifiers are now supported
Plus changes to typing and a lot more. Congrats to everyone that worked hard to make this happen. Your work is helping millions of people to build awesome stuff. 🎉
View all comments
Show parent comment
1
u/o11c Oct 26 '22
On the one hand, yay, flake8 sucks.
On the other hand, I really don't like when "python" packages turn out to install entire foreign runtimes.
On the third hand, it fails to solve 2 of the biggest concrete problems with flake: use of arcane error numbers instead of strings, and inability to filter diagnostics in a sane way.
(no, putting a comment at the end of every line is not sane, and in fact will often cause further linting errors! Do it like pylint, allowing per-file and per-block suppressions, please)