New submission from Wolfram Kraus <wolfram.kr...@hagen-partner.de>:
When using tk.createcommand you get a memory leak when you don't explicitly call tk.deletecommand to remove this command. See attached file: __del__ never get's called due to the memory leak and because of that calling tk.deletecommand inside __del__ has no effect. If you remove the tk.createcommand everything works fine. ---------- components: Tkinter files: tclmem_bug.py messages: 341140 nosy: WKraus priority: normal severity: normal status: open title: createcommand memory leak type: resource usage versions: Python 2.7, Python 3.7 Added file: https://bugs.python.org/file48292/tclmem_bug.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36756> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com