Guilherme Polo <[EMAIL PROTECTED]> added the comment: Uhm, this patch can cause trouble if not adapted a bit. The index method may return None for either index1 or index2, which will cause a TypeError in that for loop.
If code is needed to confirm this, try the following: menu = Tkinter.Menu(tearoff=False) menu.delete(0) ---------- nosy: +gpolo resolution: fixed -> status: closed -> open _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1342811> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com