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 terry.reedy
Recipients cheryl.sabella, terry.reedy
Date 2017-08-26.22:56:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503788195.24.0.73160193944.issue31284@psf.upfronthosting.co.za>
In-reply-to
Content
I don't remember ever seeing that message.  Do you have code that reliably reproduces the problem?

    def postwindowsmenu(self):
        # Only called when Windows menu exists
        menu = self.menudict['windows']
        end = menu.index("end")
        ...
        windows.add_windows_to_menu(menu)

".!menu.windows" is the tk Windows Menu name, generated by tkinter and saved in menudict.  The function claims that it is only called when the menu exists, but the error is that it does not exist, even though it is still in the dict.  This is a bug.  It must result from a bug either in IDLE or the test teardown code, or maybe both.  I would rather fix the bug than shoot the messenger ;-)

Side note: the callback handling strikes me as slightly crazy.  Creating a ListedTopLevel calls registry.add, which calls all the callbacks, each of which regenerates the menu.
History
Date User Action Args
2017-08-26 22:56:35terry.reedysetrecipients: + terry.reedy, cheryl.sabella
2017-08-26 22:56:35terry.reedysetmessageid: <1503788195.24.0.73160193944.issue31284@psf.upfronthosting.co.za>
2017-08-26 22:56:35terry.reedylinkissue31284 messages
2017-08-26 22:56:35terry.reedycreate