Modern Python Type Hints in 2026 — PEP 695, PEP 705, and the Patterns to Use
What changed in Python’s type system through 2024–2026 — PEP 695 type-parameter syntax, PEP 705 ReadOnly, TypedDict, Protocols, NewType, Self, and the patterns I keep reaching for in production.