On 8/5/10 4:21 PM, Pet wrote:
> what I've tried to do is to have objects, which were members of
> XMLRPC. And these objects would have some internal state which is
> isolated per request. But each new request has changed this objects,
> because xmlrpc is created once and not for each request or connection.
> I've solved this by modifying render_POST where I create those objects
> before calling requested function and so they lives only there without
> being overwritten by new request. Ugh... It's might be ugly, but works
> for me

I suppose you're creating such objects in your XMLRPC subclass
__init___(), that's your problem.

bye!

Alan Franzoni





_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to