Comment 3 for bug 279945

Revision history for this message
James Henstridge (jamesh) wrote :

Attached is a minor change to reduce the number of places that explicitly use the default transaction manager to a variable on the ZStorm object. Using an alternative transaction manager should be as simple as using an alternative transaction_manager attribute, and perhaps changing _local to a normal dictionary rather than a threading.local object.

So it should definitely be possible to support this. Adding default arguments to ZStorm's constructor for the transaction manager and a factory for _local would be pretty easy. How does that sound?