Python 3.11.7 is now available

https://pythoninsider.blogspot.com/2023/12/python-3117-is-now-available.html

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.
19 points · 3 comments · view on lemmy.world

3 Comments

Sigmatics@lemmy.ca · 2 pts · 2y (2 replies)

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

mac@programming.dev · 1 pts · 2y (1 reply)

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 · 1 pts · 2y

The full changelog for this release is here https://docs.python.org/release/3.11.7/whatsnew/changelog.html#python-3-11-7-final

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.