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 gpolo
Recipients benjamin.peterson, gpolo, indiedan, loewis, ocean-city, schuppenies, skomoroh, svenil
Date 2008-09-12.15:58:08
SpamBayes Score 1.2318546e-10
Marked as misclassified No
Message-id <1221235090.17.0.269954195507.issue3774@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-09-12 15:58:10gpolosetrecipients: + gpolo, loewis, svenil, ocean-city, benjamin.peterson, schuppenies, skomoroh, indiedan
2008-09-12 15:58:10gpolosetmessageid: <1221235090.17.0.269954195507.issue3774@psf.upfronthosting.co.za>
2008-09-12 15:58:09gpololinkissue3774 messages
2008-09-12 15:58:09gpolocreate