<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah" -->

---
title: NEW in Python 3.15: Frozendict | daily.dev
description: Python 3.15 is introducing a new built-in immutable type called frozendict (FD). Unlike regular dicts, FD inherits directly from object (not dict), is hashable...
canonical: https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: NEW in Python 3.15: Frozendict | daily.dev
og:description: Python 3.15 is introducing a new built-in immutable type called frozendict (FD). Unlike regular dicts, FD inherits directly from object (not dict), is hashable...
og:url: https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah
og:image: https://api.daily.dev/og/posts/uFJXbInAH.png
og:image:alt: NEW in Python 3.15: Frozendict
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# NEW in Python 3.15: Frozendict

**[Indently](https://daily.dev/sources/indently)** · 4 min read · 0 upvotes · 0 comments

## Summary

Python 3.15 is introducing a new built-in immutable type called frozendict (FD). Unlike regular dicts, FD inherits directly from object (not dict), is hashable when keys and values are hashable, preserves insertion order but performs order-independent comparisons, and raises TypeError on item assignment. It supports the collections.abc.Mapping protocol for iteration, union operator for merging (always creating a new FD), shallow and deep copy, and straightforward type annotations. Many mutable dict methods are unavailable since FD is immutable. The feature is specified in PEP 814 and is not yet available as of Python 3.15 alpha 5.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=NgcdCW2Gto4>

## Similar posts on daily.dev

- [Get started with Python’s new frozendict type](https://daily.dev/posts/get-started-with-python-s-new-frozendict-type-z3smdzvfm) · InfoWorld · 0 upvotes · 0 comments
- [Python 3.15 Preview: frozendict – Real Python](https://daily.dev/posts/python-3-15-preview-frozendict-real-python-hhuqtslqa) · Real Python · 0 upvotes · 0 comments
- [A "frozen" dictionary for Python](https://daily.dev/posts/a-frozen-dictionary-for-python-9mwi8jiie) · Hacker News · 0 upvotes · 0 comments
- [Python Gains frozendict and Other Python News for March 2026 – Real Python](https://daily.dev/posts/python-gains-frozendict-and-other-python-news-for-march-2026-real-python-pllbqmb7u) · Real Python · 11 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#data-structures](https://daily.dev/tags/data-structures)

[View this post on daily.dev](https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"NEW in Python 3.15: Frozendict","url":"https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah"},"datePublished":"2026-03-14T15:21:16.379Z","dateModified":"2026-03-14T15:21:33.357Z","description":"Python 3.15 is introducing a new built-in immutable type called frozendict (FD). Unlike regular dicts, FD inherits directly from object (not dict), is hashable...","image":"https://i.ytimg.com/vi/NgcdCW2Gto4/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/NgcdCW2Gto4/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Indently","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Indently","logo":"https://media.daily.dev/image/upload/s--u6wAXJI9--/f_auto/v1725038127/logos/indently","url":"https://daily.dev/sources/indently"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/new-in-python-3-15-frozendict-ufjxbinah","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,data-structures","timeRequired":"PT4M","video":{"@type":"VideoObject","name":"NEW in Python 3.15: Frozendict","description":"Python 3.15 is introducing a new built-in immutable type called frozendict (FD). Unlike regular dicts, FD inherits directly from object (not dict), is hashable...","thumbnailUrl":"https://i.ytimg.com/vi/NgcdCW2Gto4/sddefault.jpg","uploadDate":"2026-03-14T15:21:16.379Z","duration":"PT4M","url":"https://api.daily.dev/r/uFJXbInAH","embedUrl":"https://www.youtube.com/embed/NgcdCW2Gto4"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Indently","item":"https://daily.dev/sources/indently"},{"@type":"ListItem","position":3,"name":"NEW in Python 3.15: Frozendict"}]}
```

