[Pyobjc-dev] Protocols and Proxies
Brought to you by:
ronaldoussoren
From: Peter M. <zig...@po...> - 2002-11-12 07:19:39
|
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 |