Do protocols and proxies work? I'm trying to track down why distributed
objects doesn't work.
NSProxy test:
from Foundation import *
class ProxyTest(NSProxy):
def test(self):
return 'Hello, world!'
p = ProxyTest.alloc()
p.test()
It segfaults. I little experimentation shows that it segfaults on
alloc().
Also, are (formal) protocols supported? How do you create a new one?
Peter
|