`implements ` doesn't work with py3
Bug #930759 reported by
aodag
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.interface |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
from zope.interface import Interface, implements
class ISample(Interface):
""" sample interface """
class Spam(object):
implements(
if ISample.
print("OK")
else:
print("NG")
running with python2.7 displays "OK", but displays "NG" with python3.2.
And `Spam` class has `__implements_
Is that correct?
To post a comment you must log in.
dups of https:/ /bugs.launchpad .net/zope. interface/ +bug/911851