class_docstr: Address parser class by Ben Escoto.
  
  To understand what this class does, it helps to have a copy of RFC 2822 in
  front of you.
  
  Note: this class interface is deprecated and may be removed in the future.
  Use email.utils.AddressList instead.
docstr: Parse the next address.
docstr_tok: ["Parse","the","next","address","."]
code: def getaddress(self):
      """Parse the next address."""
      self.commentlist = []
      self.gotonext()
  
      oldpos = self.pos
      oldcl = self.commentlist
      plist = self.getphraselist()
  
      self.gotonext()
      returnlist = []
  
      if self.pos >= len(self.field):
          # Bad email address technically, no domain.
          if plist:
              returnlist = [(SPACE.join(self.commentlist), plist[0])]
  
      elif self.field[self.pos] in ".@":
          # email address is just an addrspec
          # this isn't very efficient since we start over
          self.pos = oldpos
          self.commentlist = oldcl
          addrspec = self.getaddrspec()
          returnlist = [(SPACE.join(self.commentlist), addrspec)]
  
      elif self.field[self.pos] == ":":
          # address is a group
          returnlist = []
  
          fieldlen = len(self.field)
          self.pos += 1
          while self.pos < len(self.field):
              self.gotonext()
              if self.pos < fieldlen and self.field[self.pos] == ";":
                  self.pos += 1
                  break
              returnlist = returnlist + self.getaddress()
  
      elif self.field[self.pos] == "<":
          # Address is a phrase then a route addr
          routeaddr = self.getrouteaddr()
  
          if self.commentlist:
              returnlist = [
                  (
                      SPACE.join(plist)
                      + " ("
                      + " ".join(self.commentlist)
                      + ")",
                      routeaddr,
                  )
              ]
          else:
              returnlist = [(SPACE.join(plist), routeaddr)]
  
      else:
          if plist:
              returnlist = [(SPACE.join(self.commentlist), plist[0])]
          elif self.field[self.pos] in self.specials:
              self.pos += 1
  
      self.gotonext()
      if self.pos < len(self.field) and self.field[self.pos] == ",":
          self.pos += 1
      return returnlist
  
imports: import time, calendar
label_desc: Use image node_id 4 for calling the AddrlistClass obj's underlying member method code with example usage: obj.getaddress() and returns: returnlist