[$] Python 3.12: error messages, perf support, and more

Post Syndicated from original https://lwn.net/Articles/928437/

Python 3.12 approaches. While the full feature set of the final
release—slated for October 2023—is still not completely known, by now
we have a good sense for what it will offer. It picks up where
Python 3.11 left off, improving error messages
and performance. These changes are accompanied by a smattering of smaller
changes, though Linux users will likely make use of one in particular:
support for the perf profiler.