We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0667166 commit 01e7c35Copy full SHA for 01e7c35
mesonpy/__init__.py
@@ -128,7 +128,7 @@ def _init_colors() -> Dict[str, str]:
128
129
130
_SUFFIXES = importlib.machinery.all_suffixes()
131
-_EXTENSION_SUFFIXES = importlib.machinery.EXTENSION_SUFFIXES.copy()
+_EXTENSION_SUFFIXES = importlib.machinery.EXTENSION_SUFFIXES
132
_EXTENSION_SUFFIX_REGEX = re.compile(r'^\.(?:(?P<abi>[^.]+)\.)?(?:so|pyd|dll)$')
133
assert all(re.match(_EXTENSION_SUFFIX_REGEX, x) for x in _EXTENSION_SUFFIXES)
134
0 commit comments