zope.interface.declarations.Declaration tries to be
like a class (has __bases__) but does not have __name__
pychecker accesses it once it decides it wants to treat
it as a class, causing a traceback.
Caught exception importing module
zope.interface.declarations:
File
"/usr/lib/python2.4/site-packages/pychecker/checker.py",
line 610, in _initModule()
self.addClass(tokenName)
File
"/usr/lib/python2.4/site-packages/pychecker/checker.py",
line 530, in addClass()
self.__addAttributes(c, c.classObject)
File
"/usr/lib/python2.4/site-packages/pychecker/checker.py",
line 516, in __addAttributes()
c.addMethods(classObject)
File
"/usr/lib/python2.4/site-packages/pychecker/checker.py",
line 333, in addMethods()
self.addMethod(methodName, classObject.__name__)
AttributeError: 'Declaration' object has no attribute
'__name__'
(This is a simple one-line python file that does
"import zope.interface.declarations")
Logged In: YES
user_id=197434
patch:
https://apestaart.org/thomas/trac/browser/patches/pychecker/blacklist