text: from Timeout import timeout
  import time
  
  
  @timeout(1)
  def t(a):
      while True:
          a.append(1)
          time.sleep(1)
  
  def main():
      a = []
      try:
          t(a)
      except Exception as e:
          print(e)
  
  
  main()