The addition was highlighted in an InfoWorld demonstration on 8 May, after Python 3.15 beta introduced frozendict alongside the new sentinel() type.
The long-debated core feature gives Python a built-in immutable dictionary, expanding the language's data-structure options for cases where mappings should not change.
Python 3.15 also brings lazy imports, an upgraded JIT, a sampling profiler and other changes, as developers continue refining the release after reverting 3.14's incremental garbage collector.