I have built an XML-RPC interface in Python and I need to enforce some stricter typing.  For example, passing string '10' instead of int 10.  I can clean this up with some type casting and a little exception handling, but I am wondering if there is any other way of forcing type integrity such as something XML-RPC specific, a decorator, or something else.
It's always going to be converted to a string anyway, so why do you care what's being passed in? If you use "%s" % number or even just str(number), then it doesn't matter whether number is a string or an int.
XML-RPC method parameter data typing in Python