divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00062
[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.
https://bugs.launchpad.net/bugs/811792
Title:
AttributeError: 'MetaTypedInterface' object has no attribute
'__name__'
Status in Divmod Nevow:
Confirmed
Status in Tahoe, the Lovely Accessible File System:
New
Status in zope.interface:
Invalid
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:
http://drewp.quickwitretort.com/2011/07/08/0
http://codepad.org/wd1UUnhh
To manage notifications about this bug go to:
https://bugs.launchpad.net/nevow/+bug/811792/+subscriptions
References