code: def getaddrlist(self):
          
          result = []
          while self.pos < len(self.field):
              ad = self.getaddress()
              if ad:
                  result += ad
              else:
                  result.append(('', ''))
          return result
docs: Parse all addresses.
  
          Returns a list containing all of the addresses.