]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Jul 2021 05:40:10 +0000 (22:40 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Jul 2021 05:40:10 +0000 (22:40 -0700)
commit7e1d6308a3fc536719adcf1df0aa4e9953c12f8b
tree5185e3fd3bd84c5691259a450dda567e2df4e926
parentb42eee78e7651693aa38c390f577e5d499dcf55d
bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107)

if it is called with a sequence or set, but not list or tuple.
(cherry picked from commit f572cbf1faab33d9afbbe3e95738ed6fbe6e48e6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_tcl.py
Misc/NEWS.d/next/Library/2021-07-13-09-01-33.bpo-44608.R3IcM1.rst [new file with mode: 0644]
Modules/_tkinter.c