From bfecfcc2a860071c8e5022ac512bde94e0fb5f76 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 18 Jun 2026 18:46:57 +0300 Subject: [PATCH 1/4] gh-86726: Add few missing versionadded directives (GH-151662) Pack.pack_content, Place.place_content and Grid.grid_content were added in 3.15. --- Doc/library/tkinter.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 8507656e50fa33c..b0421721bf8d7e5 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -2979,6 +2979,8 @@ Base and mixin classes Same as :meth:`Misc.pack_content`. :meth:`content` is an alias of :meth:`!pack_content`. + .. versionadded:: 3.15 + .. class:: Place() @@ -3073,6 +3075,8 @@ Base and mixin classes Same as :meth:`Misc.place_content`. :meth:`content` is an alias of :meth:`!place_content`. + .. versionadded:: 3.15 + .. class:: Grid() @@ -3221,6 +3225,8 @@ Base and mixin classes Same as :meth:`Misc.grid_content`. :meth:`content` is an alias of :meth:`!grid_content`. + .. versionadded:: 3.15 + .. class:: XView() From e99b319682fe984074e32f52354dbec23ded4d0a Mon Sep 17 00:00:00 2001 From: Harjoth Khara Date: Thu, 18 Jun 2026 09:55:06 -0700 Subject: [PATCH 2/4] gh-146353: Document `PyBytesWriter_GetData` pointer validity (GH-151418) --- Doc/c-api/bytes.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Doc/c-api/bytes.rst b/Doc/c-api/bytes.rst index f56bcd6333a37d3..fa77d3d38ff89fd 100644 --- a/Doc/c-api/bytes.rst +++ b/Doc/c-api/bytes.rst @@ -384,14 +384,18 @@ Getters Get the writer size. + The function does not invalidate pointers returned by + :c:func:`PyBytesWriter_GetData`. + The function cannot fail. .. c:function:: void* PyBytesWriter_GetData(PyBytesWriter *writer) Get the writer data: start of the internal buffer. - The pointer is valid until :c:func:`PyBytesWriter_Finish` or - :c:func:`PyBytesWriter_Discard` is called on *writer*. + The pointer remains valid until a :c:type:`PyBytesWriter` function other + than :c:func:`PyBytesWriter_GetData` or :c:func:`PyBytesWriter_GetSize` is + called on *writer*. The function cannot fail. From 15d74068f3a2f093e0b73dd7a74938fa6d7f7460 Mon Sep 17 00:00:00 2001 From: mushitoriami <232557021+mushitoriami@users.noreply.github.com> Date: Fri, 19 Jun 2026 02:45:04 +0900 Subject: [PATCH 3/4] docs: Fix broken reference of parameter type in `library/logging.rst` (GH-151645) --- Doc/library/logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index aba530844d7177a..a3d117c10702414 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -690,7 +690,7 @@ Formatter Objects :param defaults: A dictionary with default values to use in custom fields. For example, ``logging.Formatter('%(ip)s %(message)s', defaults={"ip": None})`` - :type defaults: dict[str, Any] + :type defaults: dict[str, typing.Any] .. versionchanged:: 3.2 Added the *style* parameter. From 17720b184d333c7a869d801ed1a56cd91f42bdc2 Mon Sep 17 00:00:00 2001 From: Donghee Na Date: Fri, 19 Jun 2026 04:57:41 +0900 Subject: [PATCH 4/4] gh-151229: Add CI to prevent JIT stress test regression (#151647) --- .github/workflows/jit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 2f024ad52f30914..66bff36fe5e90c0 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -183,6 +183,9 @@ jobs: - name: JIT without optimizations (Debug) configure_flags: --enable-experimental-jit --with-pydebug test_env: "PYTHON_UOPS_OPTIMIZE=0" + - name: JIT with stress testing (Debug) + configure_flags: --enable-experimental-jit --with-pydebug + test_env: "PYTHON_JIT_STRESS=1" - name: JIT with tail calling interpreter configure_flags: --enable-experimental-jit --with-tail-call-interp --with-pydebug use_clang: true