code: def _results(self, connection, msgid):
          
          try:
              kind, results = connection.result(msgid)
              if kind != ldap.RES_SEARCH_RESULT:
                  results = []
          except ldap.LDAPError as e:
              results = []
              logger.error(u"result(%d) raised %s" % (msgid, pprint.pformat(e)))
  
          return self._process_results(results)
docs: Returns the result of a previous asynchronous query.