def _supportsSymlinks(self):
        if self.isWindows():
            # We do the isWindows() check as newer Pythons support the symlink
            # support in Vista+, but only if you have some obscure permission
            # (SeCreateSymbolicLinkPrivilege), which can only be given on
            # platforms with msc.exe (so, Business/Enterprise editions).
            # This uncommon requirement makes the Twisted test suite test fail
            # in 99.99% of cases as general users don't have permission to do
            # it, even if there is "symlink support".
            return False
        else:
            # If we're not on Windows, check for existence of os.symlink.
            try:
                os.symlink
            except AttributeError:
                return False
            else:
                return True
Attempt to parse mysql database config file for connection settings.
dataset/ETHPy150Open twisted/twisted/twisted/python/runtime.py/Platform._supportsSymlinks--crossover with--dataset/ETHPy150Open django-extensions/django-extensions/django_extensions/management/mysql.py/parse_mysql_cnf