เปิดตัว Python 3.11
(discuss.python.org)- โปรเจ็กต์ Faster CPython เริ่มเห็นผล ทำให้เร็วกว่า 3.10 อยู่ 10~60%
ดีขึ้น 1.22x ตามมาตรฐานเบนช์มาร์ก - Traceback แสดงตำแหน่งข้อผิดพลาดได้ละเอียดขึ้น
- เพิ่ม Exception Groups และ
except* - รองรับการพาร์ส TOML
- เพิ่ม task groups ใน
asyncio - รองรับ Atomic grouping
((?>...))และ Possessive Quantifiers(*+, ++, ?+, {m,n}+)ใน regular expression
4 ความคิดเห็น
บังเอิญมีบทความนี้พอดีครับ https://pythonspeed.com/articles/upgrade-python-3.11/
อ่านแล้วครับ
การเปิดตัว Python 3.11
https://docs.python.org/3.11/whatsnew/3.11.html
เยี่ยมไปเลย