this post was submitted on 10 Dec 2023
20 points (95.5% liked)

Python

6229 readers
23 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
20
Python 3.11.7 is now available (pythoninsider.blogspot.com)
submitted 9 months ago* (last edited 9 months ago) by mac@programming.dev to c/python@programming.dev
 

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.
top 3 comments
sorted by: hot top controversial new old
[–] Sigmatics@lemmy.ca 2 points 9 months ago (1 children)

These features are part of 3.11, not 3.11.7 πŸ€¦β€β™‚οΈ

[–] mac@programming.dev 1 points 9 months ago (1 children)

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 points 9 months ago

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.