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 indiedan
Recipients benjamin.peterson, gpolo, indiedan, loewis, ocean-city, schuppenies, skomoroh, svenil
Date 2008-09-16.12:24:51
SpamBayes Score 1.7812004e-05
Marked as misclassified No
Message-id <1221567952.55.0.837093180008.issue3774@psf.upfronthosting.co.za>
In-reply-to
Content
It may be because I'm calling delete incorrectly (I don't think so - see 
below) but I'm getting an error

  File "C:\CCPN\ccpn\python\memops\gui\Menu.py", line 127, in 
deleteMenuItems
    self.delete(0, Tkinter.END)
  File "C:\Python-2.6_svn\lib\lib-tk\Tkinter.py", line 2670, in delete
    if c in self._tclCommands:
TypeError: argument of type 'NoneType' is not iterable

Which can easily be fixed with 

- if c in self._tclCommands:
+ if c and c in self._tclCommands:

line 2670 Tkinter.py

Should I create a patch or have I missed something? Thanks.
History
Date User Action Args
2008-09-16 12:25:52indiedansetrecipients: + indiedan, loewis, svenil, ocean-city, benjamin.peterson, gpolo, schuppenies, skomoroh
2008-09-16 12:25:52indiedansetmessageid: <1221567952.55.0.837093180008.issue3774@psf.upfronthosting.co.za>
2008-09-16 12:24:52indiedanlinkissue3774 messages
2008-09-16 12:24:51indiedancreate