def get_twill_glocals():
 global global_dict, _local_dict_stack
 assert (global_dict is not None), 'must initialize global namespace first!'
 if (len(_local_dict_stack) == 0):
  new_local_dict()
 return (global_dict, _local_dict_stack[(-1)])

def get_twill_glocals ( ) : global global_dict , _local_dict_stack assert ( global_dict is not None ) , 'must initialize global namespace first!' if ( len ( _local_dict_stack ) == 0 ) : new_local_dict ( ) return ( global_dict , _local_dict_stack [ ( - 1 ) ] )
return global dict & current local dictionary .