Skip to content

Commit 6919a37

Browse files
generatedunixname1734921407115435meta-codesync[bot]
authored andcommitted
Sync pre-release CPython 3.15 branch from GitHub (2026-05-29)
Summary: Imported python/cpython `3.15.0b1+` from upstream rev [`2f91315`](https://www.github.com/python/cpython/commit/2f9131575b611dfc749242e8bbc6805bbc14683b) (committed 2026-05-29 21:48:10+00:00). # Commit Info - Base: (`3.15.0b1+`) - [`21fa311`](https://www.github.com/python/cpython/commit/21fa311c044704a1638b2ae0dc480fd9f7f68159) (commit date: 2026-05-28 22:57:04+00:00) - Imported: (`3.15.0b1+`) - [`2f91315`](https://www.github.com/python/cpython/commit/2f9131575b611dfc749242e8bbc6805bbc14683b) (commit date: 2026-05-29 21:48:10+00:00) # Noteworthy file changes - Low-signal files (3 added) (NEWS.d, docs, .github) Complete list of added/removed files: https://www.internalfb.com/intern/everpaste/?color=0&handle=GCC3ZiZMwP2Gu3ADAAZBWWepCDE4br0LAAAz Differential Revision: D106905296 fbshipit-source-id: ccd516a94b62226f44d1e5f84ca6d91f8349a4c8
1 parent 38927de commit 6919a37

16 files changed

Lines changed: 753 additions & 202 deletions

Doc/library/pydoc.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ will start a HTTP server on port 1234, allowing you to browse the
6868
documentation at ``http://localhost:1234/`` in your preferred web browser.
6969
Specifying ``0`` as the port number will select an arbitrary unused port.
7070

71+
.. warning::
72+
73+
The :mod:`!pydoc` HTTP server is intended for local use during
74+
development and is not suitable for production use.
75+
7176
:program:`python -m pydoc -n <hostname>` will start the server listening at the given
7277
hostname. By default the hostname is 'localhost' but if you want the server to
7378
be reached from other machines, you may want to change the host name that the

Doc/reference/datamodel.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ subscript notation ``a[k]`` selects the item indexed by ``k`` from the mapping
496496
:keyword:`del` statements. The built-in function :func:`len` returns the number
497497
of items in a mapping.
498498

499-
There is currently a single intrinsic mapping type:
499+
There are two intrinsic mapping types:
500500

501501

502502
Dictionaries
@@ -535,6 +535,20 @@ module.
535535
an implementation detail at that time rather than a language guarantee.
536536

537537

538+
Frozen dictionaries
539+
^^^^^^^^^^^^^^^^^^^
540+
541+
.. index:: pair: object; frozendict
542+
543+
These represent an immutable dictionary. They are created by the built-in
544+
:func:`frozendict` constructor. A frozendict is :term:`hashable` if all of
545+
its keys and values are hashable, in which case it can be used as an element
546+
of a set, or as a key in another mapping. :class:`!frozendict` is not a
547+
subclass of :class:`dict`; it inherits directly from :class:`object`.
548+
549+
.. versionadded:: 3.15
550+
551+
538552
Callable types
539553
--------------
540554

0 commit comments

Comments
 (0)