Python 3.11.7 is now available (pythoninsider.blogspot.com)
from mac@programming.dev to python@programming.dev on 10 Dec 2023 20:44
https://programming.dev/post/7080314

Major new features and changes:

  • PEP 657 – Include Fine-Grained Error Locations in Tracebacks
  • PEP 654 – Exception Groups and except*
  • PEP 673 – Self Type
  • PEP 646 – Variadic Generics
  • PEP 680 – tomllib: Support for Parsing TOML in the Standard Library
  • PEP 675 – Arbitrary Literal String Type
  • PEP 655 – Marking individual TypedDict items as required or potentially-missing
  • bpo-46752 – Introduce task groups to asyncio
  • PEP 681 – Data Class Transforms
  • bpo-433030– Atomic grouping ((?>…)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions. The Faster Cpython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite. See Faster CPython for details.

#python

threaded - newest

Sigmatics@lemmy.ca on 13 Dec 2023 07:14 collapse

These features are part of 3.11, not 3.11.7 🤦‍♂️

mac@programming.dev on 13 Dec 2023 21:36 collapse

oops didnt see that header

will keep them in the description there just in case people dont know what 3.11 added since I dont believe theres been a 3.11 post here before

qwop@programming.dev on 18 Dec 2023 23:10 collapse

The full changelog for this release is here docs.python.org/release/3.11.7/…/changelog.html#p…

Surprisingly not shown that obviously in the release announcements, but I guess that’s fair since most of the changes will have no effect on 99.9999% of people.