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

Attachment: pgpMczG3wgvlJ.pgp
Description: PGP signature

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to