def sysinfo(self):
import coverage as covmod<EOL>import platform, re<EOL>try:<EOL><INDENT>implementation = platform.python_implementation()<EOL><DEDENT>except AttributeError:<EOL><INDENT>implementation = "<STR_LIT>"<EOL><DEDENT>info = [<EOL>('<STR_LIT:version>', covmod.__version__),<EOL>('<STR_LIT>', covmod.__file__),<EOL>('<STR_LIT>', self.cover_dir),<EOL>('<STR_LIT>', self.pylib_dirs),<EOL>('<STR_LIT>', self.collector.tracer_name()),<EOL>('<STR_LIT>', self.config.attempted_config_files),<EOL>('<STR_LIT>', self.config.config_files),<EOL>('<STR_LIT>', self.data.filename),<EOL>('<STR_LIT>', sys.version.replace('<STR_LIT:\n>', '<STR_LIT>')),<EOL>('<STR_LIT>', platform.platform()),<EOL>('<STR_LIT>', implementation),<EOL>('<STR_LIT>', sys.executable),<EOL>('<STR_LIT>', os.getcwd()),<EOL>('<STR_LIT:path>', sys.path),<EOL>('<STR_LIT>', sorted([<EOL>("<STR_LIT>" % (k, v)) for k, v in iitems(os.environ)<EOL>if re.search(r"<STR_LIT>", k)<EOL>])),<EOL>('<STR_LIT>', "<STR_LIT:U+0020>".join(getattr(sys, '<STR_LIT>', ['<STR_LIT>']))),<EOL>]<EOL>if self.source_match:<EOL><INDENT>info.append(('<STR_LIT>', self.source_match.info()))<EOL><DEDENT>if self.include_match:<EOL><INDENT>info.append(('<STR_LIT>', self.include_match.info()))<EOL><DEDENT>if self.omit_match:<EOL><INDENT>info.append(('<STR_LIT>', self.omit_match.info()))<EOL><DEDENT>if self.cover_match:<EOL><INDENT>info.append(('<STR_LIT>', self.cover_match.info()))<EOL><DEDENT>if self.pylib_match:<EOL><INDENT>info.append(('<STR_LIT>', self.pylib_match.info()))<EOL><DEDENT>return info<EOL>
Return a list of (key, value) pairs showing internal information.