code: def _taskdict(task):
      '''
      Note: No locking is provided.  Under normal circumstances, like the other task is not running (e.g. this is running
      from the same event loop as the task) or task is the current task, this is fine.
      '''
      if task is None:
          task = asyncio.current_task()
  
      assert task
      taskvars = getattr(task, '_syn_taskvars', None)
  
      if taskvars is None:
          taskvars = varinit(task)
  
      return taskvarf _taskdict(task):
      '''
      Note: No locking is provided.  Under normal circumstances, like the other task is not running (e.g. this is running
      from the same event loop as the task) or task is the current task, this is fine.
      '''
      if task is None:
          task = asyncio.current_task()
  
      assert task
      taskvars = getattr(task, '_syn_taskvars', None)
  
      if taskvars is None:
          taskvars = varinit(task)
  
      return taskvars
docs: Note: No locking is provided.  Under normal circumstances, like the other task is not running (e.g. this is running
      from the same event loop as the task) or task is the current task, this is fine.