From 16efaa225cbe53345b482daddee85b5ebfe3cb98 Mon Sep 17 00:00:00 2001 From: kovan Date: Sat, 7 Feb 2026 13:19:20 +0100 Subject: [PATCH 1/2] gh-140490: Document changes for `PurePath.stem` in Python 3.14 (#144450) --- Doc/library/pathlib.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 0c65a61a52e32e..4814f5f86b2907 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -486,6 +486,10 @@ Pure paths provide the following methods and properties: >>> PurePosixPath('my/library').stem 'library' + .. versionchanged:: 3.14 + + A single dot ("``.``") is considered a valid suffix. + .. method:: PurePath.as_posix() From 0e7c06a85880ba790fac4239b0ff1052399a36ae Mon Sep 17 00:00:00 2001 From: kovan Date: Sat, 7 Feb 2026 13:22:51 +0100 Subject: [PATCH 2/2] gh-142044: Add note to prefer `asyncio.timeout[_at]` over `asyncio.Timeout` (#144449) --- Doc/library/asyncio-task.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 863b3e336572aa..1b7c8ff0c762a6 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -771,6 +771,9 @@ Timeouts An :ref:`asynchronous context manager ` for cancelling overdue coroutines. + Prefer using :func:`asyncio.timeout` or :func:`asyncio.timeout_at` + rather than instantiating :class:`!Timeout` directly. + ``when`` should be an absolute time at which the context should time out, as measured by the event loop's clock: