Re: [Twisted-Python] Having touble with spread.pb un-serializing an object

2009-09-28 Thread exarkun
On 25 Sep, 03:42 am, b...@intelerad.com wrote: >Hi Jean-Paul, > >Here is a sample server and client code that demonstrates the problem >with PB's unserialization code and objects that use __slots__. The >SlotsObject class implements __slots__ and the NoSlotsObject does not. >The problem arises whe

Re: [Twisted-Python] Having touble with spread.pb un-serializing an object

2009-09-24 Thread Benjamin Ash
Hi Jean-Paul, Here is a sample server and client code that demonstrates the problem with PB's unserialization code and objects that use __slots__. The SlotsObject class implements __slots__ and the NoSlotsObject does not. The problem arises when de-serializing the SlotsObject. The stack trace is

Re: [Twisted-Python] Having touble with spread.pb un-serializing an object

2009-09-23 Thread exarkun
On 07:06 pm, b...@intelerad.com wrote: >Hi, > >I am trying to send new style classes that implement __slots__ with >spread.pb. >Things seem to go awry when attempting to un-serialize the objects on >the >client side. I am not sure if this is a known issue. How can I work >around >this issue?

[Twisted-Python] Having touble with spread.pb un-serializing an object

2009-09-23 Thread Benjamin Ash
Hi, I am trying to send new style classes that implement __slots__ with spread.pb. Things seem to go awry when attempting to un-serialize the objects on the client side. I am not sure if this is a known issue. How can I work around this issue? Thanks, -ben Stack trace: """ Unhandled error in