From 5cfd3dfed414d31033d73064b546022966f2278b Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sat, 20 Jun 2026 12:21:09 +0100 Subject: [PATCH 1/2] `valgrind-python.supp`: Update suppression for leaks --- Misc/valgrind-python.supp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp index 8b2027cd4527679..286a75395da941f 100644 --- a/Misc/valgrind-python.supp +++ b/Misc/valgrind-python.supp @@ -317,13 +317,10 @@ { Avoid problems w/readline doing a putenv and leaking on exit Memcheck:Leak - fun:malloc - fun:xmalloc - fun:sh_set_lines_and_columns - fun:_rl_get_screen_size - fun:_rl_init_terminal_io - obj:/lib/libreadline.so.4.3 - fun:rl_initialize + match-leak-kinds: definite,indirect + ... + fun:setup_readline + fun:PyInit_readline } # Valgrind emits "Conditional jump or move depends on uninitialised value(s)" From 943b5b31ec70b4bb4a182ebaa106856cb8dabc8e Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 24 Jun 2026 14:46:03 +0100 Subject: [PATCH 2/2] Apply suggestion from @vstinner --- Misc/valgrind-python.supp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp index 286a75395da941f..4df8a118f089b70 100644 --- a/Misc/valgrind-python.supp +++ b/Misc/valgrind-python.supp @@ -317,10 +317,8 @@ { Avoid problems w/readline doing a putenv and leaking on exit Memcheck:Leak - match-leak-kinds: definite,indirect ... fun:setup_readline - fun:PyInit_readline } # Valgrind emits "Conditional jump or move depends on uninitialised value(s)"