← Back to team overview

divmod-dev team mailing list archive

[Bug 811792] Re: AttributeError: 'MetaTypedInterface' object has no attribute '__name__'


Prior to zope.interface 3.6.4, interface objects used the '__hash__' of
the base 'object' type, which used the object's address as its hash:
under Python3, objects which override '__eq__' are also required to
override '__hash__'.

I would say that you need either to pin zope.interface to version 3.6.1,
or else require a version of nevow which doesn't attempt to hash the
interface object inside its '__new__' (if using the object as a
dictionary key inside its own __new__ is truly necessary, then nevow
should arrange to assign the '__name__' beforehand).

You received this bug notification because you are a member of Divmod-
dev, which is the registrant for nevow.

  AttributeError: 'MetaTypedInterface' object has no attribute

Status in Divmod Nevow:
Status in Tahoe, the Lovely Accessible File System:
Status in zope.interface:

Bug description:
  This is with Nevow 0.10.0 and zope.interface 3.6.4. David-Sarah
  Hopwood and Drew Perttula each independently reported this error. (I
  haven't seen it personally, I'm just reporting what they posted.) Drew
  included a patch to zope.interface work-around it:



To manage notifications about this bug go to: