[spyne] Factory with deepcopy?

Burak Arslan burak.arslan at arskom.com.tr
Wed Oct 1 19:50:08 UTC 2014

Hello Roberto,

On 01/10/14 13:51, Roberto Maurizzi wrote:
> I ended up trying to deepcopy the class with something like this (that 
> also adds an optional header used for authentication - in a poor adn 
> non-generic way, right now - and allows you to specify a different 
> service name for the "clones".
> Is this something acceptable or did I miss some subtle (...or 
> obvious!) side effect that will result in errors or worse once I start 
> to use it "for real"?
> A test implementation looks to be working correctly right now, but 
> concurrent use isn't enough to expose possible "reentrancy" problems.

For what it's worth, I can't think of a reason why deepcopy wouldn't work.

Best regards,

More information about the people mailing list