I've submitted the patch posted earlier for review, since it seems like a worthwhile clean up in its own right.
Out of the options, (1) sounds like the a good idea: move most of the code to a base class with ZStorm as a specialisation for the threaded transaction manager that uses threading.local().
I've submitted the patch posted earlier for review, since it seems like a worthwhile clean up in its own right.
Out of the options, (1) sounds like the a good idea: move most of the code to a base class with ZStorm as a specialisation for the threaded transaction manager that uses threading.local().