Python Lazy Imports (PEP 810): The Startup Speedup, Benchmarked
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 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.