🌐 AI搜索 & 代理 主页
Python 3.13.7
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index e9cdebe..36b5ac2 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -18,12 +18,12 @@
 /*--start constants--*/
 #define PY_MAJOR_VERSION        3
 #define PY_MINOR_VERSION        13
-#define PY_MICRO_VERSION        6
+#define PY_MICRO_VERSION        7
 #define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_FINAL
 #define PY_RELEASE_SERIAL       0
 
 /* Version as a string */
-#define PY_VERSION              "3.13.6+"
+#define PY_VERSION              "3.13.7"
 /*--end constants--*/
 
 /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index b5a9148..78134e8 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,4 +1,4 @@
-# Autogenerated by Sphinx on Wed Aug  6 15:05:15 2025
+# Autogenerated by Sphinx on Thu Aug 14 13:12:07 2025
 # as part of the release process.
 
 topics = {
@@ -1907,7 +1907,8 @@ class attributes; they are shared by instances.  Instance attributes
 group types, because that would have ambiguous semantics.
 
 It is not possible to mix "except" and "except*" in the same "try".
-"break", "continue" and "return" cannot appear in an "except*" clause.
+The "break", "continue", and "return" statements cannot appear in an
+"except*" clause.
 
 
 "else" clause
@@ -10109,7 +10110,8 @@ class is used in a class pattern with positional arguments, each
 group types, because that would have ambiguous semantics.
 
 It is not possible to mix "except" and "except*" in the same "try".
-"break", "continue" and "return" cannot appear in an "except*" clause.
+The "break", "continue", and "return" statements cannot appear in an
+"except*" clause.
 
 
 "else" clause
diff --git a/Misc/NEWS.d/3.13.7.rst b/Misc/NEWS.d/3.13.7.rst
new file mode 100644
index 0000000..9b4a0b9
--- /dev/null
+++ b/Misc/NEWS.d/3.13.7.rst
@@ -0,0 +1,63 @@
+.. date: 2025-08-09-08-53-32
+.. gh-issue: 137583
+.. nonce: s6OZud
+.. release date: 2025-08-14
+.. section: Library
+
+Fix a deadlock introduced in 3.13.6 when a call to :meth:`ssl.SSLSocket.recv
+<socket.socket.recv>` was blocked in one thread, and then another method on
+the object (such as :meth:`ssl.SSLSocket.send <socket.socket.send>`) was
+subsequently called in another thread.
+
+..
+
+.. date: 2025-08-03-13-16-39
+.. gh-issue: 137044
+.. nonce: 0hPVL_
+.. section: Library
+
+Return large limit values as positive integers instead of negative integers
+in :func:`resource.getrlimit`. Accept large values and reject negative
+values (except :data:`~resource.RLIM_INFINITY`) for limits in
+:func:`resource.setrlimit`.
+
+..
+
+.. date: 2025-07-21-15-40-00
+.. gh-issue: 136914
+.. nonce: -GNG-d
+.. section: Library
+
+Fix retrieval of :attr:`doctest.DocTest.lineno` for objects decorated with
+:func:`functools.cache` or :class:`functools.cached_property`.
+
+..
+
+.. date: 2025-03-27-08-13-32
+.. gh-issue: 131788
+.. nonce: 0RWiFc
+.. section: Library
+
+Make ``ResourceTracker.send`` from :mod:`multiprocessing` re-entrant safe
+
+..
+
+.. date: 2025-07-01-23-00-58
+.. gh-issue: 136155
+.. nonce: 4siQQO
+.. section: Documentation
+
+We are now checking for fatal errors in EPUB builds in CI.
+
+..
+
+.. date: 2025-08-06-15-39-54
+.. gh-issue: 137400
+.. nonce: xIw0zs
+.. section: Core and Builtins
+
+Fix a crash in the :term:`free threading` build when disabling profiling or
+tracing across all threads with :c:func:`PyEval_SetProfileAllThreads` or
+:c:func:`PyEval_SetTraceAllThreads` or their Python equivalents
+:func:`threading.settrace_all_threads` and
+:func:`threading.setprofile_all_threads`.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-08-06-15-39-54.gh-issue-137400.xIw0zs.rst b/Misc/NEWS.d/next/Core and Builtins/2025-08-06-15-39-54.gh-issue-137400.xIw0zs.rst
deleted file mode 100644
index a464cf4..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-08-06-15-39-54.gh-issue-137400.xIw0zs.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix a crash in the :term:`free threading` build when disabling profiling or tracing
-across all threads with :c:func:`PyEval_SetProfileAllThreads` or
-:c:func:`PyEval_SetTraceAllThreads` or their Python equivalents
-:func:`threading.settrace_all_threads` and :func:`threading.setprofile_all_threads`.
diff --git a/Misc/NEWS.d/next/Documentation/2025-07-01-23-00-58.gh-issue-136155.4siQQO.rst b/Misc/NEWS.d/next/Documentation/2025-07-01-23-00-58.gh-issue-136155.4siQQO.rst
deleted file mode 100644
index 70f5493..0000000
--- a/Misc/NEWS.d/next/Documentation/2025-07-01-23-00-58.gh-issue-136155.4siQQO.rst
+++ /dev/null
@@ -1 +0,0 @@
-We are now checking for fatal errors in EPUB builds in CI.
diff --git a/Misc/NEWS.d/next/Library/2025-03-27-08-13-32.gh-issue-131788.0RWiFc.rst b/Misc/NEWS.d/next/Library/2025-03-27-08-13-32.gh-issue-131788.0RWiFc.rst
deleted file mode 100644
index 5258024..0000000
--- a/Misc/NEWS.d/next/Library/2025-03-27-08-13-32.gh-issue-131788.0RWiFc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Make ``ResourceTracker.send`` from :mod:`multiprocessing` re-entrant safe
diff --git a/Misc/NEWS.d/next/Library/2025-07-21-15-40-00.gh-issue-136914.-GNG-d.rst b/Misc/NEWS.d/next/Library/2025-07-21-15-40-00.gh-issue-136914.-GNG-d.rst
deleted file mode 100644
index 78ec802..0000000
--- a/Misc/NEWS.d/next/Library/2025-07-21-15-40-00.gh-issue-136914.-GNG-d.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix retrieval of :attr:`doctest.DocTest.lineno` for objects decorated with
-:func:`functools.cache` or :class:`functools.cached_property`.
diff --git a/Misc/NEWS.d/next/Library/2025-08-03-13-16-39.gh-issue-137044.0hPVL_.rst b/Misc/NEWS.d/next/Library/2025-08-03-13-16-39.gh-issue-137044.0hPVL_.rst
deleted file mode 100644
index f5f9626..0000000
--- a/Misc/NEWS.d/next/Library/2025-08-03-13-16-39.gh-issue-137044.0hPVL_.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Return large limit values as positive integers instead of negative integers
-in :func:`resource.getrlimit`. Accept large values and reject negative
-values (except :data:`~resource.RLIM_INFINITY`) for limits in
-:func:`resource.setrlimit`.
diff --git a/Misc/NEWS.d/next/Library/2025-08-09-08-53-32.gh-issue-137583.s6OZud.rst b/Misc/NEWS.d/next/Library/2025-08-09-08-53-32.gh-issue-137583.s6OZud.rst
deleted file mode 100644
index 3843cc7..0000000
--- a/Misc/NEWS.d/next/Library/2025-08-09-08-53-32.gh-issue-137583.s6OZud.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix a deadlock introduced in 3.13.6 when a call to
-:meth:`ssl.SSLSocket.recv <socket.socket.recv>` was blocked in one thread,
-and then another method on the object (such as :meth:`ssl.SSLSocket.send <socket.socket.send>`)
-was subsequently called in another thread.
diff --git a/README.rst b/README.rst
index 1eb7cc5..8097f94 100644
--- a/README.rst
+++ b/README.rst
@@ -1,4 +1,4 @@
-This is Python version 3.13.6
+This is Python version 3.13.7
 =============================
 
 .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg