[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread miss-islington
miss-islington added the comment: New changeset 94adfe6e2cdc9ba715b6d7068d8bd521ba6bf30b by Miss Islington (bot) in branch '3.9': bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) https://github.com/python/cpython/commit/94adfe6e2cdc9ba715b6d7068d8bd521ba6bf30b -- __

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread miss-islington
miss-islington added the comment: New changeset 7e1d6308a3fc536719adcf1df0aa4e9953c12f8b by Miss Islington (bot) in branch '3.10': bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) https://github.com/python/cpython/commit/7e1d6308a3fc536719adcf1df0aa4e9953c12f8b -- _

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +25677 pull_request: https://github.com/python/cpython/pull/27134 ___ Python tracker ___ __

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f572cbf1faab33d9afbbe3e95738ed6fbe6e48e6 by Serhiy Storchaka in branch 'main': bpo-44608: Fix memory leak in _tkinter._flatten() (GH-27107) https://github.com/python/cpython/commit/f572cbf1faab33d9afbbe3e95738ed6fbe6e48e6 -- ___

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25676 pull_request: https://github.com/python/cpython/pull/27133 ___ Python tracker _

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report stardust222. Indeed, there is a leak if an argument is a sequence or set, but not list or tuple. PR 27107 fixes it. -- components: +Extension Modules -C API, Tkinter versions: +Python 3.10, Python 3.11

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 1.0 -> 2.0 pull_requests: +25652 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27107 ___ Python tracker

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-12 Thread Ned Deily
Change by Ned Deily : -- components: +Tkinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue44608] Memory use increase in function _tkinter._flatten

2021-07-12 Thread stardust222
New submission from stardust222 <490661...@qq.com>: In the following code, the memory use of function _tkinter._flatten is increase as the number of calls when I input an illegal value. import sys import tracemalloc import _tkinter arg_list = [] arg_list.append('ptqiioaaejhdoat') # check fo