docs: def evalall(self, loc=None, defaults=None):
          """Evaluates all option values in environment `loc`.
  
          :See: `eval()`
  
          """
          self.check()
          if defaults is None:
              defaults = cma_default_options
          # TODO: this needs rather the parameter N instead of loc
          if 'N' in loc:  # TODO: __init__ of CMA can be simplified
              popsize = self('popsize', defaults['popsize'], loc)
              for k in list(self.keys()):
                  k = self.corrected_key(k)
                  self.eval(k, defaults[k],
                            {'N':loc['N'], 'popsize':popsize})
          self._lock_setting = True
          return self