[Twisted-web] XMLRPC and keyword arguments

Andrew McNabb amcnabb at mcnabbs.org
Mon Mar 10 13:20:35 EDT 2008


On Mon, Mar 10, 2008 at 12:09:19PM -0500, Jean-Paul Calderone wrote:
>
> This seems like a slightly round-about API.  What would you think of having
> another prefix which included the request as the first argument?  Or the
> same prefix could be used and the function could have an attribute indicating
> it wants the request.

I don't particularly like the idea of having another prefix, but the
second idea seems pretty straightforward.  It would probably make sense
to include a decorator that set the attribute.

Anyway, if you like the idea, I'll write it.

Thanks.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20080310/878f60f6/attachment.pgp


More information about the Twisted-web mailing list