class Point(TypedDict): x: ReadOnly[int] y: int
If you’re upgrading an existing project: python 313 release notes verified
For CPU-bound, multi-threaded workloads, this could remove the GIL bottleneck. However, the default build still uses the GIL. Expect performance improvements only in specific scenarios, and expect some single-threaded slowdowns (10-20% in early benchmarks). class Point(TypedDict): x: ReadOnly[int] y: int If you’re
This change benefits long-running servers, GUI applications, and any process with large object graphs. python 313 release notes verified