This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author daniellovell
Recipients daniellovell, serhiy.storchaka, xtreak
Date 2018-10-28.07:02:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540710165.6.0.788709270274.issue35086@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the reply xtreak. I agree that changing the example to include main() isn't necessary - I unintentionally included that from my example of the case where the current version isn't functional. 

In the PR I submitted on Github (https://github.com/python/cpython/pull/10160), the proposed change is simply adding the master Tk instance to self.master then using that to close the window in the Quit button callback.

Sorry for the confusion.
History
Date User Action Args
2018-10-28 07:02:45daniellovellsetrecipients: + daniellovell, serhiy.storchaka, xtreak
2018-10-28 07:02:45daniellovellsetmessageid: <1540710165.6.0.788709270274.issue35086@psf.upfronthosting.co.za>
2018-10-28 07:02:45daniellovelllinkissue35086 messages
2018-10-28 07:02:45daniellovellcreate