def _load(self, file_path: Text) -> None:
<EOL>module_ = types.ModuleType('<STR_LIT>')<EOL>module_.__file__ = file_path<EOL>try:<EOL><INDENT>with open(file_path, encoding='<STR_LIT:utf-8>') as f:<EOL><INDENT>exec(compile(f.read(), file_path, '<STR_LIT>'), module_.__dict__)<EOL><DEDENT><DEDENT>except IOError as e:<EOL><INDENT>e.strerror = '<STR_LIT>'.format(e.strerror)<EOL>raise<EOL><DEDENT>for key in dir(module_):<EOL><INDENT>if CONFIG_ATTR.match(key):<EOL><INDENT>self[key] = getattr(module_, key)<EOL><DEDENT><DEDENT>
Load the configuration from a plain Python file. This file is executed
on its own.

Only keys matching the CONFIG_ATTR will be loaded. Basically, it's
CONFIG_KEYS_LIKE_THIS.

:param file_path: Path to the file to load