[issue34794] memory leak in TkApp:_createbytearray

2018-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a simpler reproducer. Actually the problem was not in _createbytearray(), but in converting the Python wrapper around Tcl_Obj into Tcl_Obj. _createbytearray() just exposed it. The leak exists in Python 3 too, but it is hard to reproduce it. --

[issue34794] memory leak in TkApp:_createbytearray

2018-10-21 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9364 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34794] memory leak in TkApp:_createbytearray

2018-09-25 Thread David Talkin
David Talkin added the comment: Attached please find a Python script that demonstrates the bug. David On Tue, Sep 25, 2018 at 2:55 AM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: > > Thanks for the report David. Feel free to attach

[issue34794] memory leak in TkApp:_createbytearray

2018-09-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8961 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34794] memory leak in TkApp:_createbytearray

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report David. Feel free to attach reproducible script if any that might trigger this. I am adding Serhiy who might have a better understanding of this. Relevant issue where _createbytearray was added : issue21580 . -- nosy:

[issue34794] memory leak in TkApp:_createbytearray

2018-09-24 Thread David Talkin
New submission from David Talkin : The Tkinter.PhotoImage class leaks memory with each change of the 'data' Attribute due to Image calling tk._createbytearray, which allocates memory, but never frees it. The offending method is in the TkApp class, _createbytearray(). -- components: T