Re: Trouble with getitem
Justin M Wozniak <wozniak-zhzY/AYb9nBYTrM/[email protected]> Mon, 21 Jul 2014 09:39:01 -0500
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 07/19/2014 04:26 AM, Irmen de Jong wrote: > On 18-7-2014 17:57, Justin M Wozniak wrote: >> Hi >> I'm having trouble with Pyro and the getitem syntax. I am basically trying to use >> __getitem__ on the proxy. A stand-alone test is attached. >> >> >> >> which results in: >> TypeError: 'Proxy' object has no attribute '__getitem__' >> >> If anyone can help me get this working it would be greatly appreciated. > __getitem__ isn't proxied at the moment (this may change in a future version). > Just invoke the getitem() method that you already seem to have, directly. > > Irmen Got it, thanks! -- Justin M Wozniak ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds