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 2cd4c3f commit d8c3745Copy full SHA for d8c3745
array_api_strict/_flags.py
@@ -129,7 +129,9 @@ def set_array_api_strict_flags(
129
f"Extension {extension} requires standard version "
130
f"{extension_versions[extension]} or later"
131
)
132
- ENABLED_EXTENSIONS = enabled_extensions
+ ENABLED_EXTENSIONS = tuple(enabled_extensions)
133
+ else:
134
+ ENABLED_EXTENSIONS = tuple([ext for ext in all_extensions if extension_versions[ext] <= STANDARD_VERSION])
135
136
# We have to do this separately or it won't get added as the docstring
137
set_array_api_strict_flags.__doc__ = set_array_api_strict_flags.__doc__.format(
0 commit comments