Open ironpythonbot opened 9 years ago
On 2008-08-16 01:11:40 UTC, sborde commented:
We're not yet pushing on zope compatibility. If you could give us simple repros it will make it easier for us to fix the underlying issues.
On 2008-08-16 17:02:14 UTC, wizzard0 commented:
I believe that this issue is related to decorator support in IronPython. Is there any information available on this?
On 2008-08-17 02:32:42 UTC, sanxiyn commented:
AFAIK decorators are fully supported in IronPython.
On 2008-08-17 06:38:50 UTC, dinov commented:
The issue here is that we need to raise TypeError from object.foo = 'abc', not AttributeError. But zope still won't work - it requires sys.getframe(1).
On 2008-10-24 03:32:11 UTC, arkanes commented:
just importing zope.interface exercises enough of zope for a decent test case.
This specific issue is just as dinov says above - setting attributes on object raises TypeError in CPython, but AttributeError in FePy. However, zope makes considerable use of sys._getframe(1).
I'd like to see this done as it's a prereq to getting Twisted working. If anyone can provide any pointers on where I might start implementing _getframe(1), it would be appreciated.
On 2009-05-22 04:51:39 UTC, dinov commented:
sys._getframe(1) is now available w/ the -X:Frames/-X:FullFrames in 2.6 Beta 1.
File "D:\IronPython2b4\lib\site-packages\zope\interface\interface.py", line 809, in _wire
File "D:\IronPython2b4\lib\site-packages\zope\interface\declarations.py", line 461, in classImplements
File "D:\IronPython2b4\lib\site-packages\zope\interface\declarations.py", line 355, in implementedByFallback
File "D:\IronPython2b4\lib\site-packages\zope\interface\declarations.py", line 355, in implementedByFallback
File "D:\IronPython2b4\lib\site-packages\zope\interface\declarations.py", line 362, in implementedByFallback
AttributeError: 'object' object has no attribute ' * implemented * '
Thanks in advance!
Work Item Details
Original CodePlex Issue: Issue 17775 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Aug 11, 2008 at 12:07 AM Reported by: wizzard0 Updated on: Feb 22, 2013 at 2:15 AM Updated by: dinov