environment/lib/python2.7/site-packages/IPython/config/loader.py
def _convert_to_config(self):
        """self.parsed_data->self.config, parse unrecognized extra args via KVLoader."""
        # remove subconfigs list from namespace before transforming the Namespace
        if '_flags' in self.parsed_data:
            subcs = self.parsed_data._flags
            del self.parsed_data._flags
        else:
            subcs = []

        for k, v in vars(self.parsed_data).iteritems():
            if v is None:
                # it was a flag that shares the name of an alias
                subcs.append(self.alias_flags[k])
            else:
                # eval the KV assignment
                self._exec_config_str(k, v)

        for subc in subcs:
            self._load_flag(subc)

        if self.extra_args:
            sub_parser = KeyValueConfigLoader()
            sub_parser.load_config(self.extra_args)
            self.config._merge(sub_parser.config)
            self.extra_args = sub_parser.extra_args
def _convert_to_config(self):
        # remove subconfigs list from namespace before transforming the Namespace
        if '_flags' in self.parsed_data:
            subcs = self.parsed_data._flags
            del self.parsed_data._flags
        else:
            subcs = []

        for k, v in vars(self.parsed_data).iteritems():
            if v is None:
                # it was a flag that shares the name of an alias
                subcs.append(self.alias_flags[k])
            else:
                # eval the KV assignment
                self._exec_config_str(k, v)

        for subc in subcs:
            self._load_flag(subc)

        if self.extra_args:
            sub_parser = KeyValueConfigLoader()
            sub_parser.load_config(self.extra_args)
            self.config._merge(sub_parser.config)
            self.extra_args = sub_parser.extra_args
def _convert_to_config ( self ) : # remove subconfigs list from namespace before transforming the Namespace if '_flags' in self . parsed_data : subcs = self . parsed_data . _flags del self . parsed_data . _flags else : subcs = [ ] for k , v in vars ( self . parsed_data ) . iteritems ( ) : if v is None : # it was a flag that shares the name of an alias subcs . append ( self . alias_flags [ k ] ) else : # eval the KV assignment self . _exec_config_str ( k , v ) for subc in subcs : self . _load_flag ( subc ) if self . extra_args : sub_parser = KeyValueConfigLoader ( ) sub_parser . load_config ( self . extra_args ) self . config . _merge ( sub_parser . config ) self . extra_args = sub_parser . extra_args
self.parsed_data->self.config, parse unrecognized extra args via KVLoader.
self . parsed_data - > self . config parse unrecognized extra args via KVLoader .