Patches item #1672481, was opened at 2007-03-02 17:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1672481&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: IDLE Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tal Einat (taleinat) Assigned to: Nobody/Anonymous (nobody) Summary: MultiCall bug crashing the config dialog Initial Comment: Simple patch to MultiCall which stops IDLE's config dialog from crashing upon OK/Apply. The bug is caused by ConfigDialog calling event_add() for key bindings only if there are sequences to be bound, while event_delete() is called even if there are no sequences. This causes MultiCall's internal dictionary of virtual events to raise a KeyError when event_delete() is called with a virtual event, for which event_add() was not called. The Best Thing IMO is to have MultiCall check if such an event exists in its internal dict, and if not - just ignore the event_delete() call. Patch attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1672481&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
