asyncio TaskGroup vs gather: Exceptions, Cancellation and Results, Tested
asyncio TaskGroup vs gather, run side by side: gather leaves siblings running after a failure and silently drops later errors. TaskGroup cancels them all.
asyncio TaskGroup vs gather, run side by side: gather leaves siblings running after a failure and silently drops later errors. TaskGroup cancels them all.
Python 3.15's built-in sampling profiler (Tachyon) attaches to a running process by PID, no code changes. Hands-on: attach, flamegraph, wall vs CPU vs GIL.
Python lazy imports (PEP 810) land in Python 3.15. I benchmarked boto3, requests and pydantic startup: the real speedup, and how to get most of it today.
Python 3.15 lands lazy imports, a frozendict builtin, unpacking in comprehensions, and the Tachyon sampling profiler. Here's what changed and what to test.