> > variable = current.anything > > is very dangerous at top level in a module because it is executed when > the module is imported the first time, not for every request. The > first time the a request arrives it works fine. If a second request > arrives in another thread variables will point to the wrong object.
Good point! I was not aware of it, one more thing to an "advices" section in the book