[Zope-dev] Zope RPC

Paul Prescod paul@prescod.net
Thu, 26 Aug 1999 17:25:32 -0400


I'm using RPC. I've defined an identity function function:

def foo( anarg ):
    return anarg

When I call it with foo( 5 ) I get back

(<mime...>, '5')

Is it supposed to cast all arguments to string?

When I call it with foo( (5,3) ) I get back a complicated HTML document
where 5 is in the title and 3 is buried in the body. If I call it as
foo((5,3,4)) it returns '(5,3,4)' 

 Paul Prescod