GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-141510, PEP 814: Add built-in frozendict type by vstinner · Pull Request #144757 · python/cpython

gh-141510, PEP 814: Add built-in frozendict type #144757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
vstinner merged 16 commits into python:main from vstinner:frozendict_base
Feb 17, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

gh-141510, PEP 814: Add built-in frozendict type #144757

Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
bde4379
gh-141510, PEP 814: Add built-in frozendict type
vstinner Feb 12, 2026
1fb7c5a
Document PyFrozenDict_Type in the C API doc
vstinner Feb 12, 2026
fca2e5b
Fix test_inspect and test_doctest
vstinner Feb 12, 2026
99b291c
Complete the documentation
vstinner Feb 13, 2026
5e4a284
Fix doc warnings
vstinner Feb 13, 2026
5c0c6f1
Apply suggestions from code review
vstinner Feb 13, 2026
8d4ed14
Apply suggestion from @hugovk
vstinner Feb 13, 2026
c770613
Move the What's New entry
vstinner Feb 13, 2026
6dfec48
Revert _PyDict_LoadBuiltinsFromGlobals() change
vstinner Feb 13, 2026
9101b1a
Document that frozendict is not a dict subclass
vstinner Feb 13, 2026
e845b2b
Update Doc/library/stdtypes.rst
vstinner Feb 16, 2026
3d08f46
Apply suggestions from code review
vstinner Feb 16, 2026
258b3df
doc: use sentence case for headers
vstinner Feb 16, 2026
09abcf5
Add tests on repr(frozendict)
vstinner Feb 16, 2026
3653eeb
Apply suggestions from code review
vstinner Feb 16, 2026
5bc207a
Apply suggestions from code review
vstinner Feb 16, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Benedikt Johannes <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@vstinner @benediktjohannes
vstinner and benediktjohannes authored Feb 16, 2026
commit 5bc207aa20ac6cdfe6bbce18b9bc07e1475b5e9e

There are no files selected for viewing

4 changes: 2 additions & 2 deletions 4 Lib/test/mapping_tests.py
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _empty_mapping(self):
"""Return an empty mapping object"""
return self.type2test()
def _full_mapping(self, data):
"""Return a mapping object with the value contained in data
"""Return a mapping object with the values contained in data
dictionary"""
return self.type2test(data)

Expand Down Expand Up @@ -144,7 +144,7 @@ def test_get(self):

class BasicTestMappingProtocol(BasicTestImmutableMappingProtocol):
def _full_mapping(self, data):
"""Return a mapping object with the value contained in data
"""Return a mapping object with the values contained in data
dictionary"""
x = self._empty_mapping()
for key, value in data.items():
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.