[Twisted-Python] Jellying Decimals?

Jean-Paul Calderone exarkun at divmod.com
Mon Oct 8 22:04:07 EDT 2007


On Sat, 06 Oct 2007 14:45:42 -0700, Jasper <jasper at peak.org> wrote:
>I'm trying to Jelly decimal.Decimals, using Twisted 2.4.  I've tried a few 
>approaches, such as deriving my own Decimal class from decimal.Decimal, 
>pb.RemoteCopy, and pb.Copyable, but no luck.
>
>Is there an easy way to do this, without patching twisted itself?  Worse 
>case I could always fall back on passing strings across the wire I guess, 
>but that's not very enticing. :-/

Jelly isn't currently extensible in this way.  There isn't really any
good reason that it *shouldn't* be.  However, someone will need to do
the work.

Jean-Paul




More information about the Twisted-Python mailing list