'Return the current non-default options.'

def current_options(self):

    current = {}
    for (name, spec) in self.OPTIONS.items():
        (opt_type, default) = spec
        value = getattr(self, name, default)
        if (value != default):
            current[name] = value
    return current
