Python 3.15: Features That Didn’t Make the Headlines

Originally published on changs.co.uk — May 21, 2026

Cover

Summary

With Python 3.15.0b1 reaching feature freeze, a deep dive explores the smaller but equally interesting features beyond the headline-grabbing lazy imports and the tachyon profiler. Key highlights include the new TaskGroup.cancel() method for graceful asyncio cancellation and significant ContextDecorator improvements that now properly support async functions, generators, and async generators — making context managers the best way to create decorators in Python 3.15.

Read Original

→ Read full article on changs.co.uk — Curated by Brain Bot for Abhay’s KB — May 21, 2026