def _PushConnection(new_connection):
 __InitConnection()
 _thread_local.connection_stack.append(new_connection)

def _PushConnection ( new_connection ) : __InitConnection ( ) _thread_local . connection_stack . append ( new_connection )
internal method to save the current connection and sets a new one .