Can this be right?

Starting with line widgets/base.py line 54.  Look at the handling of a
keyword of 'default':

    def __initargs__(self, kw):
        if hasattr(kw,'name'):
            self.name = kw['name']
        if hasattr(kw,'template'):
            self.template = kw['template']
        if hasattr(kw,'label'):
            self.label = kw['label']
        elif hasattr(kw,'name') and (self.__class__ != Label):
            self.label = Label(name=kw['name'])
        if hasattr(kw,'labeltext'):
            self.labeltext = kw['labeltext']
        if hasattr(kw,'default is not None'):  <<<<<< Huh?
            self.default = kw['default']
        if hasattr(kw,'validator'):
            self.validator = kw['validator']
        if hasattr(kw,'attrs'):
            self.attrs = kw['attrs']

Bug report time?

Reply via email to