Python's frozendict Is Finally Happening — And It's More Important Than You Think
- Created
- 8 Apr 2026
- Last reply
- 7 months ago
- Replies
- 0
- Views
- 0
- Reactions
- 0
Discussion of the blog article Python's frozendict Is Finally Happening — And It's More Important Than You Think.
Python 3.15 ships a built-in frozendict — hashable, O(1) lookups, order-preserving, thread-safe by design. Here's the full technical picture: the 14-year history, how hashing works, what it unlocks for lru_cache and free-threaded Python, and every sharp edge you need to know before you use it.
Discussion thread — share findings, corrections and follow-ups below.