passing a string into zope.interface.implements causes infinite recursion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tahoe-LAFS |
New
|
Unknown
|
|||
Zope 3 |
Won't Fix
|
Low
|
Unassigned | ||
zope.interface |
Won't Fix
|
Low
|
Unassigned |
Bug Description
We know you're not supposed to pass a stirng into zope.interface.
>>> from zope.interface import implements
>>> class Foo(object):
... implements('foo')
the prompt will hang for a while. Then we get this error:
File "/home/
File "/home/
File "/home/
RuntimeError: maximum recursion depth exceeded in cmp
Perhaps something can be done to prevent this infinite recursion. Not urgent, but would be nice as this is rather surprising.
Changed in zope3: | |
importance: | Undecided → Low |
status: | New → Confirmed |
summary: |
- passing a string into zope.interface.implements + passing a string into zope.interface.implements causes infinite + recursion |
Changed in tahoe-lafs: | |
status: | Unknown → New |
Changed in zope.interface: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in zope3: | |
status: | Confirmed → Won't Fix |
Please follow-up on Github:
https:/ /github. com/zopefoundat ion/zope. interface/ issues/ 4