-> I second the statement about multi-threading headaches if you use
-> globals in this way.
->
-> In Aquarium, since I have to support different threading API's (no
-> threads, Python threads, coroutines), I put everything in a Context
-> object, and then pass that Context object to everything's
I second the statement about multi-threading headaches if you use
globals in this way.
In Aquarium, since I have to support different threading API's (no
threads, Python threads, coroutines), I put everything in a Context
object, and then pass that Context object to everything's constructor.
This
Timothy Soehnlin wrote:
> I am working on an ongoing project, and recently
> merged all the different segments of the request into a
> single variable. To propogate that variable,across function
> calls, and imported modules, I had to pass it as a variable
> to each function. As is visible, th