Terry J. Reedy added the comment:

The macosx leak came from repeated calls to
    root.createcommand("::tk::mac::OpenDocument", doOpenFile)
in macosx.addOpenEventSupport(root, flist), which is called from 
macosx.setupApp, which is called in test_macosx.SetupTest.test_setupapp.

Attached is an improved version of findleak.py, which made it easy to isolate 
one test file by renaming, repeatedly determine whether the leak remained after 
modifying either macosx.py or test_macosx.py, and revert all the other names 
when done.

----------
Added file: http://bugs.python.org/file46948/findleak.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to