Guilherme Polo <[EMAIL PROTECTED]> added the comment: The patch attached is probably the most direct way to fix it, but, can someone remind why we just don't call deletecommand (if there is a command to delete) and let it try to remove the command from _tclCommand then ? (note that this is not really the case for this bug report). I'm attaching a patch that is a bit "different". It relies on the fact that if the menu entry was created with add_command but no command was specified, then there is no command to specify. And if a command was specified then _tclCommands would be a list and deletecommand would work properly.
Added file: http://bugs.python.org/file11476/issue3774.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com