From c119c2a8c82724397ef71f46e24f6382814c6dd8 Mon Sep 17 00:00:00 2001 From: richardsheridan Date: Sat, 28 Oct 2023 13:49:32 -0400 Subject: [PATCH] add newsfragment --- newsfragments/2841.feature.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 newsfragments/2841.feature.rst diff --git a/newsfragments/2841.feature.rst b/newsfragments/2841.feature.rst new file mode 100644 index 0000000000..9792eb3b74 --- /dev/null +++ b/newsfragments/2841.feature.rst @@ -0,0 +1,3 @@ +To better reflect the underlying thread handling semantics, +`trio.to_thread.run_sync` gained a new keyword argument ``abandon_on_cancel`` +that overrides the older (now deprecated) ``cancellable`` flag.