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 a sequence of RFC 2822 phrases.
  
  A phrase is a sequence of words, which are in turn either RFC 2822
  atoms or quoted-strings.  Phrases are canonicalized by squeezing all
  runs of continuous whitespace into one space.
docstr_tok: ["Parse","a","sequence","of","RFC","2822","phrases",".","A","phrase","is","a","sequence","of","words",",","which","are","in","turn","either","RFC","2822","atoms","or","quoted-strings",".","Phrases","are","canonicalized","by","squeezing","all","runs","of","continuous","whitespace","into","one","space","."]
code: def getphraselist(self):
      """Parse a sequence of RFC 2822 phrases.
  
      A phrase is a sequence of words, which are in turn either RFC 2822
      atoms or quoted-strings.  Phrases are canonicalized by squeezing all
      runs of continuous whitespace into one space.
      """
      plist = []
  
      while self.pos < len(self.field):
          if self.field[self.pos] in self.FWS:
              self.pos += 1
          elif self.field[self.pos] == '"':
              plist.append(self.getquote())
          elif self.field[self.pos] == "(":
              self.commentlist.append(self.getcomment())
          elif self.field[self.pos] in self.phraseends:
              break
          else:
              plist.append(self.getatom(self.phraseends))
  
      return plist
  
imports: import time, calendar
label_desc: Use image node_id 13 for calling the AddrlistClass obj's underlying member method code with example usage: obj.getphraselist() and returns: plist